Click here to Skip to main content
16,009,728 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralMessageBox Help Pin
Paul Belikian31-Aug-04 14:06
Paul Belikian31-Aug-04 14:06 
Generalhelp file Pin
Marcus Spitzmiller31-Aug-04 13:50
Marcus Spitzmiller31-Aug-04 13:50 
QuestionHow to Write an RS422 Interface in C++ Pin
Norman Hines31-Aug-04 12:17
Norman Hines31-Aug-04 12:17 
AnswerRe: How to Write an RS422 Interface in C++ Pin
Ryan Binns31-Aug-04 18:31
Ryan Binns31-Aug-04 18:31 
GeneralRe: How to Write an RS422 Interface in C++ Pin
Norman Hines2-Sep-04 14:22
Norman Hines2-Sep-04 14:22 
GeneralRe: How to Write an RS422 Interface in C++ Pin
Ryan Binns2-Sep-04 15:16
Ryan Binns2-Sep-04 15:16 
GeneralRe: How to Write an RS422 Interface in C++ Pin
Norman Hines2-Sep-04 15:29
Norman Hines2-Sep-04 15:29 
GeneralRe: How to Write an RS422 Interface in C++ Pin
Ryan Binns2-Sep-04 16:46
Ryan Binns2-Sep-04 16:46 
Norman Hines wrote:
Are you telling me that this PCMCIA card slot is accessed as a COM port?

No. The card driver will make the ports appear as though they were individual serial ports. It makes no difference if it's PCI, PCMCIA, ISA, USB etc... The difference in architecture is abstracted by the driver that comes with the card. All you need to worry about is which serial port number Windows associates with the physical ports.

Norman Hines wrote:
Were would I find out which COM port (or ports!) they are?

Unfortunately, there isn't a way that I know of. AFAIK, you'll need to rely on a configurable option that the user can set to input the correct one to use. WMI might be able to associate the COM port number with the PCMCIA card information, but I haven't used WMI before so I'm not sure.

Norman Hines wrote:
Do I wait until I have the laptop itself and experimentally test "COM1" through "COM9" until I find the right one?

Yep. Sounds stupid, doesn't it? Windows allocates port numbers first-come-first-serve. So if you add a new serial port and you have COM1 and COM2 already, the new one is COM3, no matter where it gets added.

Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

QuestionHow to find Memory Over Flow ? Pin
Amarelia31-Aug-04 11:50
Amarelia31-Aug-04 11:50 
AnswerRe: How to find Memory Over Flow ? Pin
mahade131-Aug-04 18:36
mahade131-Aug-04 18:36 
Generalconst char * Pin
rtb33331-Aug-04 11:47
rtb33331-Aug-04 11:47 
GeneralRe: const char * Pin
Ryan Binns31-Aug-04 18:36
Ryan Binns31-Aug-04 18:36 
Generalopening a command prompt inside a cdialog Pin
mickelliot31-Aug-04 11:13
mickelliot31-Aug-04 11:13 
GeneralRe: opening a command prompt inside a cdialog Pin
vcplusplus31-Aug-04 11:38
vcplusplus31-Aug-04 11:38 
GeneralCFormView and ActiveX Controls... Pin
herbert_chow31-Aug-04 10:57
herbert_chow31-Aug-04 10:57 
GeneralRe: CFormView and ActiveX Controls... Pin
herbert_chow31-Aug-04 14:12
herbert_chow31-Aug-04 14:12 
QuestionOverlay mode? Pin
Vilo99931-Aug-04 9:18
Vilo99931-Aug-04 9:18 
AnswerRe: Folder path for any Win OS? Pin
vcplusplus31-Aug-04 7:52
vcplusplus31-Aug-04 7:52 
GeneralGDI+ VC++ Access Violation Pin
Nicholas Cardi31-Aug-04 7:22
Nicholas Cardi31-Aug-04 7:22 
GeneralRe: GDI+ VC++ Access Violation Pin
Anonymous31-Aug-04 7:29
Anonymous31-Aug-04 7:29 
GeneralRe: GDI+ VC++ Access Violation Pin
Nicholas Cardi31-Aug-04 7:33
Nicholas Cardi31-Aug-04 7:33 
GeneralRe: GDI+ VC++ Access Violation Pin
Nicholas Cardi31-Aug-04 11:02
Nicholas Cardi31-Aug-04 11:02 
QuestionFolder path for any Win OS? Pin
nigma_x31-Aug-04 7:01
nigma_x31-Aug-04 7:01 
AnswerRe: Folder path for any Win OS? Pin
Nicholas Cardi31-Aug-04 7:30
Nicholas Cardi31-Aug-04 7:30 
AnswerRe: Folder path for any Win OS? Pin
Ravi Bhavnani31-Aug-04 7:31
professionalRavi Bhavnani31-Aug-04 7:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.