Click here to Skip to main content
15,915,752 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionSearching for C++ classes (MFC) gathering media infos Pin
Ralf Lohmueller5-Aug-08 2:10
Ralf Lohmueller5-Aug-08 2:10 
QuestionCDialog wipes out when switching to a different application Pin
bxveer5-Aug-08 1:53
bxveer5-Aug-08 1:53 
AnswerRe: CDialog wipes out when switching to a different application Pin
sudhir_Kumar5-Aug-08 2:08
sudhir_Kumar5-Aug-08 2:08 
GeneralRe: CDialog wipes out when switching to a different application Pin
bxveer5-Aug-08 22:05
bxveer5-Aug-08 22:05 
AnswerRe: CDialog wipes out when switching to a different application Pin
Saurabh.Garg5-Aug-08 2:11
Saurabh.Garg5-Aug-08 2:11 
GeneralRe: CDialog wipes out when switching to a different application Pin
bxveer5-Aug-08 22:03
bxveer5-Aug-08 22:03 
QuestionUSB Data Pin
mirtu5-Aug-08 1:31
mirtu5-Aug-08 1:31 
AnswerRe: USB Data Pin
Cedric Moonen5-Aug-08 1:36
Cedric Moonen5-Aug-08 1:36 
You don't do that directly. You have to communicate with one of the device sitting on the bus through its device driver, and you can't access the bus directly. Which device are you trying to communicate with ?

The way to go is to get a handle to the driver through CreateFile (you simply the device symbolic name) and then you can call ReadFile and WriteFile or exchange specific control codes by calling DeviceIOControl. All of those things are specific to the device you try to communicate with, so you need to have some documentation.

Cédric Moonen
Software developer

Charting control [v1.4]
OpenGL game tutorial in C++

GeneralRe: USB Data Pin
mirtu5-Aug-08 1:39
mirtu5-Aug-08 1:39 
GeneralRe: USB Data Pin
Cedric Moonen5-Aug-08 1:44
Cedric Moonen5-Aug-08 1:44 
GeneralRe: USB Data Pin
mirtu5-Aug-08 1:58
mirtu5-Aug-08 1:58 
GeneralRe: USB Data Pin
Cedric Moonen5-Aug-08 2:03
Cedric Moonen5-Aug-08 2:03 
GeneralRe: USB Data Pin
mirtu5-Aug-08 2:12
mirtu5-Aug-08 2:12 
GeneralRe: USB Data Pin
mirtu5-Aug-08 18:08
mirtu5-Aug-08 18:08 
QuestionUser interface Pin
kDevloper5-Aug-08 1:06
kDevloper5-Aug-08 1:06 
AnswerRe: User interface Pin
SandipG 5-Aug-08 1:12
SandipG 5-Aug-08 1:12 
AnswerRe: User interface Pin
sudhir_Kumar5-Aug-08 1:56
sudhir_Kumar5-Aug-08 1:56 
AnswerRe: User interface Pin
David Crow5-Aug-08 3:24
David Crow5-Aug-08 3:24 
QuestionWindow Refresh problem Pin
manoharbalu5-Aug-08 0:48
manoharbalu5-Aug-08 0:48 
AnswerRe: Window Refresh problem Pin
SandipG 5-Aug-08 0:52
SandipG 5-Aug-08 0:52 
AnswerRe: Window Refresh problem Pin
sudhir_Kumar5-Aug-08 1:08
sudhir_Kumar5-Aug-08 1:08 
AnswerRe: Window Refresh problem Pin
Alan Balkany5-Aug-08 4:55
Alan Balkany5-Aug-08 4:55 
Questioncolumn separator in RichEditCtrl Pin
Ahmed Charfeddine5-Aug-08 0:37
Ahmed Charfeddine5-Aug-08 0:37 
QuestionRe: column separator in RichEditCtrl Pin
David Crow5-Aug-08 3:26
David Crow5-Aug-08 3:26 
AnswerRe: column separator in RichEditCtrl Pin
Ahmed Charfeddine6-Aug-08 3:36
Ahmed Charfeddine6-Aug-08 3:36 

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.