Click here to Skip to main content
15,895,462 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: UDP Server Pin
Andy2026-Sep-07 10:58
Andy2026-Sep-07 10:58 
GeneralRe: UDP Server Pin
Mark Salsbery6-Sep-07 11:33
Mark Salsbery6-Sep-07 11:33 
GeneralRe: UDP Server Pin
Andy2027-Sep-07 4:48
Andy2027-Sep-07 4:48 
GeneralRe: UDP Server Pin
Mark Salsbery7-Sep-07 5:22
Mark Salsbery7-Sep-07 5:22 
GeneralRe: UDP Server Pin
Andy2027-Sep-07 9:13
Andy2027-Sep-07 9:13 
GeneralRe: UDP Server Pin
Moak8-Nov-07 12:37
Moak8-Nov-07 12:37 
Questionhow to establish usb communication in MFC? Pin
ashokbngr5-Sep-07 22:43
ashokbngr5-Sep-07 22:43 
AnswerRe: how to establish usb communication in MFC? Pin
Cedric Moonen5-Sep-07 23:16
Cedric Moonen5-Sep-07 23:16 
Which kind of device are you communicating with ? USB doesn't work like a serial port: you don't have access directly to the port but instead you get the handle of a driver. This driver is shipped with the device you want to communicate with and manages all the communication with the device.

To get the handle of the driver, simply call CreateFile supplying the correct driver name, then you should be able to use ReadFile and WriteFile. You can also do some more specific stuff by calling DeviceIOControl (in which you can pass some specific IO code which is dependent of your driver).

So, if you want more help, you'll need to give a lot more information (which device do you try to access, if you have documentation with it, ...).


Cédric Moonen
Software developer

Charting control [v1.2]

Questionnumerical methods Pin
mitsui585-Sep-07 22:00
mitsui585-Sep-07 22:00 
AnswerRe: numerical methods Pin
Russell'5-Sep-07 22:39
Russell'5-Sep-07 22:39 
GeneralRe: numerical methods Pin
mitsui585-Sep-07 22:53
mitsui585-Sep-07 22:53 
GeneralRe: numerical methods Pin
Russell'5-Sep-07 23:13
Russell'5-Sep-07 23:13 
GeneralRe: numerical methods Pin
mitsui587-Sep-07 4:35
mitsui587-Sep-07 4:35 
AnswerRe: numerical methods Pin
David Crow6-Sep-07 3:28
David Crow6-Sep-07 3:28 
AnswerRe: numerical methods Pin
ollydbg239-Sep-07 1:05
ollydbg239-Sep-07 1:05 
QuestionHow can I monitor the cts pin of serial port using dcb Pin
yaminisridaran5-Sep-07 20:06
yaminisridaran5-Sep-07 20:06 
AnswerRe: How can I monitor the cts pin of serial port using dcb Pin
chandu0045-Sep-07 20:26
chandu0045-Sep-07 20:26 
GeneralRe: How can I monitor the cts pin of serial port using dcb Pin
yaminisridaran5-Sep-07 20:30
yaminisridaran5-Sep-07 20:30 
GeneralRe: How can I monitor the cts pin of serial port using dcb Pin
chandu0045-Sep-07 20:51
chandu0045-Sep-07 20:51 
AnswerRe: How can I monitor the cts pin of serial port using dcb Pin
QuickDeveloper5-Sep-07 20:41
QuickDeveloper5-Sep-07 20:41 
GeneralRe: How can I monitor the cts pin of serial port using dcb Pin
yaminisridaran5-Sep-07 20:43
yaminisridaran5-Sep-07 20:43 
AnswerRe: How can I monitor the cts pin of serial port using dcb Pin
Cedric Moonen5-Sep-07 20:50
Cedric Moonen5-Sep-07 20:50 
GeneralRe: How can I monitor the cts pin of serial port using dcb Pin
yaminisridaran5-Sep-07 20:56
yaminisridaran5-Sep-07 20:56 
GeneralRe: How can I monitor the cts pin of serial port using dcb Pin
Cedric Moonen5-Sep-07 20:59
Cedric Moonen5-Sep-07 20:59 
QuestionUsing MFC to access the internet Pin
D_code_writer5-Sep-07 19:43
D_code_writer5-Sep-07 19:43 

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.