Click here to Skip to main content
15,912,897 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Output formatting Pin
David Crow24-Jan-05 2:49
David Crow24-Jan-05 2:49 
GeneralRe: Output formatting Pin
hugPW24-Jan-05 3:12
hugPW24-Jan-05 3:12 
GeneralRe: Output formatting Pin
David Crow24-Jan-05 3:25
David Crow24-Jan-05 3:25 
GeneralRe: Output formatting Pin
hugPW24-Jan-05 5:40
hugPW24-Jan-05 5:40 
GeneralRe: Output formatting Pin
David Crow24-Jan-05 9:02
David Crow24-Jan-05 9:02 
GeneralRe: Output formatting Pin
hugPW24-Jan-05 5:43
hugPW24-Jan-05 5:43 
QuestionHow to open USB port? Pin
eli1502197923-Jan-05 21:12
eli1502197923-Jan-05 21:12 
AnswerRe: How to open USB port? Pin
Cedric Moonen23-Jan-05 21:32
Cedric Moonen23-Jan-05 21:32 
Are you using a RS-232 to USB adapter ? (a cable that enables you to use a serial device in the USB port). If yes, this is exactly the same because it is considered as a virtual COM port...

If no, this is much more complicated because you need a driver (that is normally shipped with the USB device), and there must be normally some doc supplied with it. You open the communication using the CreateFile function but you 'communicate' with the driver using special commands (that are specific to your USB device). These commands are sent using the DeviceIoControl function

Hope this helps
GeneralRe: How to open USB port? Pin
eli1502197923-Jan-05 21:44
eli1502197923-Jan-05 21:44 
GeneralRe: How to open USB port? Pin
Cedric Moonen23-Jan-05 21:55
Cedric Moonen23-Jan-05 21:55 
AnswerRe: How to open USB port? Pin
namaskaaram24-Jan-05 1:43
namaskaaram24-Jan-05 1:43 
Generalchar to int Pin
doneirik23-Jan-05 20:15
doneirik23-Jan-05 20:15 
GeneralRe: char to int Pin
Cedric Moonen23-Jan-05 21:05
Cedric Moonen23-Jan-05 21:05 
GeneralRe: char to int Pin
doneirik23-Jan-05 21:27
doneirik23-Jan-05 21:27 
GeneralRe: char to int Pin
toxcct23-Jan-05 21:59
toxcct23-Jan-05 21:59 
GeneralSHCreateDirectory() Pin
Monisankar23-Jan-05 20:01
Monisankar23-Jan-05 20:01 
GeneralRe: SHCreateDirectory() Pin
ThatsAlok23-Jan-05 20:09
ThatsAlok23-Jan-05 20:09 
GeneralRe: SHCreateDirectory() Pin
Michael Dunn23-Jan-05 20:52
sitebuilderMichael Dunn23-Jan-05 20:52 
Generalvariable duration/scope Pin
Galen_223-Jan-05 19:05
Galen_223-Jan-05 19:05 
GeneralRe: variable duration/scope Pin
toxcct23-Jan-05 22:11
toxcct23-Jan-05 22:11 
GeneralRe: variable duration/scope Pin
Galen_225-Jan-05 5:03
Galen_225-Jan-05 5:03 
GeneralRe: variable duration/scope Pin
Blake Miller25-Jan-05 5:30
Blake Miller25-Jan-05 5:30 
GeneralCSocket Receive Stucks Pin
anaknakal23-Jan-05 18:59
anaknakal23-Jan-05 18:59 
Generalclass type redifinition Pin
aj168223-Jan-05 18:51
aj168223-Jan-05 18:51 
GeneralRe: class type redifinition Pin
ThatsAlok23-Jan-05 19:03
ThatsAlok23-Jan-05 19:03 

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.