Click here to Skip to main content
15,891,375 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to know if LargeAddressAware is set? Pin
Stuart Dootson11-May-09 23:55
professionalStuart Dootson11-May-09 23:55 
GeneralRe: How to know if LargeAddressAware is set? Pin
wilburke12-May-09 3:52
wilburke12-May-09 3:52 
QuestionC++ in Unix Pin
002comp11-May-09 21:40
002comp11-May-09 21:40 
AnswerRe: C++ in Unix Pin
CPallini11-May-09 22:00
mveCPallini11-May-09 22:00 
AnswerRe: C++ in Unix Pin
Stuart Dootson11-May-09 22:14
professionalStuart Dootson11-May-09 22:14 
GeneralRe: C++ in Unix Pin
002comp11-May-09 23:24
002comp11-May-09 23:24 
GeneralRe: C++ in Unix Pin
Rajesh R Subramanian11-May-09 23:31
professionalRajesh R Subramanian11-May-09 23:31 
QuestionEdit box disappears on switching tabs Pin
vishnugupta11-May-09 21:29
vishnugupta11-May-09 21:29 
QuestionCreating a PPPoE connection Pin
Krylik11-May-09 21:27
Krylik11-May-09 21:27 
AnswerRe: Creating a PPPoE connection Pin
led mike12-May-09 4:27
led mike12-May-09 4:27 
QuestionActivating Menu Options Pin
prithaa11-May-09 21:04
prithaa11-May-09 21:04 
AnswerRe: Activating Menu Options Pin
«_Superman_»11-May-09 21:21
professional«_Superman_»11-May-09 21:21 
GeneralRe: Activating Menu Options Pin
prithaa11-May-09 23:21
prithaa11-May-09 23:21 
QuestionRe: Activating Menu Options Pin
David Crow12-May-09 2:54
David Crow12-May-09 2:54 
QuestionPointers Pin
durban211-May-09 20:03
durban211-May-09 20:03 
AnswerRe: Pointers Pin
Cedric Moonen11-May-09 20:16
Cedric Moonen11-May-09 20:16 
QuestionDATETIMEPICKER Pin
durban211-May-09 19:59
durban211-May-09 19:59 
AnswerRe: DATETIMEPICKER Pin
Stuart Dootson11-May-09 20:27
professionalStuart Dootson11-May-09 20:27 
AnswerRe: DATETIMEPICKER Pin
Cedric Moonen11-May-09 20:34
Cedric Moonen11-May-09 20:34 
QuestionHow to figure out the port number of a device? Pin
Syamlal S Nair11-May-09 19:57
Syamlal S Nair11-May-09 19:57 
AnswerRe: How to figure out the port number of a device? Pin
Cedric Moonen11-May-09 20:41
Cedric Moonen11-May-09 20:41 
SyamlalS wrote:
"USB COM Port (COMX)"


So, your USB device is USB-to-serial device ? If yes, you will need to retrieve the COM port number from the registry (but I never did that myself , so I can't really help there), and then you can open it like any other COM port (CreateFile, ReadFile, WriteFile, ... ). Then of course you need to know the protocol that your device is using (so, what to send,...)

If it is not a virtual COM port, the procedure is a bit different.

Cédric Moonen
Software developer

Charting control [v2.0]
OpenGL game tutorial in C++

GeneralRe: How to figure out the port number of a device? Pin
Syamlal S Nair11-May-09 21:09
Syamlal S Nair11-May-09 21:09 
GeneralRe: How to figure out the port number of a device? Pin
CPallini11-May-09 21:26
mveCPallini11-May-09 21:26 
GeneralRe: How to figure out the port number of a device? Pin
klau2k11-May-09 22:07
klau2k11-May-09 22:07 
Questiontwo dialog window and variable Pin
durban211-May-09 19:54
durban211-May-09 19:54 

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.