Click here to Skip to main content
15,911,707 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: _itot and _iota Pin
baldha rakesh18-May-06 23:54
baldha rakesh18-May-06 23:54 
AnswerRe: _itot and _iota Pin
_AnsHUMAN_ 18-May-06 20:19
_AnsHUMAN_ 18-May-06 20:19 
GeneralRe: _itot and _iota Pin
baldha rakesh18-May-06 23:58
baldha rakesh18-May-06 23:58 
GeneralRe: _itot and _iota Pin
_AnsHUMAN_ 19-May-06 1:11
_AnsHUMAN_ 19-May-06 1:11 
GeneralRe: _itot and _iota Pin
baldha rakesh19-May-06 3:39
baldha rakesh19-May-06 3:39 
AnswerRe: _itot and _iota Pin
Laxman Auti18-May-06 20:45
Laxman Auti18-May-06 20:45 
AnswerRe: _itot and _iota Pin
David Crow19-May-06 3:38
David Crow19-May-06 3:38 
QuestionCan I use ReadFile/WriteFile for USB device's handle? Pin
Takanobu Maekawa18-May-06 20:07
Takanobu Maekawa18-May-06 20:07 
Hi all,

I'm making a dll that read/write with a hardware device
which is connected with USB port.

My colleague says what I should do is
1.calling CreateFile() to get handle for the usb port
2.use ReadFile() or WriteFile() for reading and writing through the handle.

But, when I searched for this issue,
I saw some web pages that says I should use DeviceIoControl().

Please tell me which is right opinion,
and what's different between them.

thanks.

--Maekawa
AnswerRe: Can I use ReadFile/WriteFile for USB device's handle? Pin
Cedric Moonen18-May-06 20:34
Cedric Moonen18-May-06 20:34 
GeneralRe: Can I use ReadFile/WriteFile for USB device's handle? Pin
Eytukan18-May-06 21:36
Eytukan18-May-06 21:36 
GeneralRe: Can I use ReadFile/WriteFile for USB device's handle? Pin
Cedric Moonen18-May-06 21:39
Cedric Moonen18-May-06 21:39 
GeneralRe: Can I use ReadFile/WriteFile for USB device's handle? Pin
Eytukan18-May-06 21:45
Eytukan18-May-06 21:45 
GeneralRe: Can I use ReadFile/WriteFile for USB device's handle? Pin
Cedric Moonen18-May-06 21:47
Cedric Moonen18-May-06 21:47 
GeneralRe: Can I use ReadFile/WriteFile for USB device's handle? Pin
Eytukan18-May-06 21:57
Eytukan18-May-06 21:57 
AnswerRe: Can I use ReadFile/WriteFile for USB device's handle? Pin
NiceNaidu18-May-06 23:34
NiceNaidu18-May-06 23:34 
QuestionWhat is operation of "Overlay Mixer" Filter? Pin
Andy Rama18-May-06 20:01
Andy Rama18-May-06 20:01 
QuestionSending a web page to client on socket Pin
shuchigo_jane18-May-06 19:52
shuchigo_jane18-May-06 19:52 
QuestionCreating a Socket , where firewall is installed Pin
zahid_ash18-May-06 19:24
zahid_ash18-May-06 19:24 
AnswerRe: Creating a Socket , where firewall is installed Pin
ThatsAlok18-May-06 20:04
ThatsAlok18-May-06 20:04 
GeneralRe: Creating a Socket , where firewall is installed Pin
zahid_ash18-May-06 20:24
zahid_ash18-May-06 20:24 
GeneralRe: Creating a Socket , where firewall is installed Pin
Eytukan18-May-06 21:37
Eytukan18-May-06 21:37 
Questionpre compiled header files ? Pin
Krishnatv18-May-06 19:17
Krishnatv18-May-06 19:17 
AnswerRe: pre compiled header files ? Pin
_AnsHUMAN_ 18-May-06 19:27
_AnsHUMAN_ 18-May-06 19:27 
GeneralRe: pre compiled header files ? Pin
Krishnatv18-May-06 19:37
Krishnatv18-May-06 19:37 
GeneralRe: pre compiled header files ? Pin
_AnsHUMAN_ 18-May-06 19:53
_AnsHUMAN_ 18-May-06 19:53 

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.