Click here to Skip to main content
15,922,427 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Automatic installation procedure question Pin
User 21559721-Aug-08 1:35
User 21559721-Aug-08 1:35 
QuestionThe code fails to display the image (win32 sdk c++ programming) Pin
raesa20-Aug-08 20:53
raesa20-Aug-08 20:53 
AnswerRe: The code fails to display the image (win32 sdk c++ programming) Pin
567890123420-Aug-08 21:06
567890123420-Aug-08 21:06 
GeneralRe: The code fails to display the image (win32 sdk c++ programming) Pin
raesa20-Aug-08 21:11
raesa20-Aug-08 21:11 
AnswerRe: The code fails to display the image (win32 sdk c++ programming) Pin
Naveen20-Aug-08 21:12
Naveen20-Aug-08 21:12 
GeneralRe: The code fails to display the image (win32 sdk c++ programming) Pin
raesa20-Aug-08 22:14
raesa20-Aug-08 22:14 
QuestionCopy USB Device Data To System Pin
NewVC++20-Aug-08 20:47
NewVC++20-Aug-08 20:47 
AnswerRe: Copy USB Device Data To System Pin
Cedric Moonen20-Aug-08 21:14
Cedric Moonen20-Aug-08 21:14 
You can't copy data from USB to system. USB is very different than the serial port, you can't simply access it and read what's on the bus. Instead you have to communicate to a specific device that is sitting on the bus though its driver. To open the driver, call CreateFile with the device symbolic name as argument to the function (which depends on the device to which you want to communicate). Once you got the handle to the driver, you can start excahnging information with the device through WriteFile/ReadFile. You can also exchange device specific codes through DeviceIOControl but these codes are also dependant on the device. So, it really depends on the type of device you would like to communicate with. Which device is it ?
If it is a kind of development board, you should have received some documentation with it that describes how to communicate with it.

Cédric Moonen
Software developer

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

GeneralRe: Copy USB Device Data To System Pin
NewVC++20-Aug-08 21:35
NewVC++20-Aug-08 21:35 
GeneralRe: Copy USB Device Data To System Pin
Cedric Moonen20-Aug-08 21:54
Cedric Moonen20-Aug-08 21:54 
GeneralRe: Copy USB Device Data To System Pin
NewVC++20-Aug-08 22:05
NewVC++20-Aug-08 22:05 
GeneralRe: Copy USB Device Data To System Pin
Cedric Moonen20-Aug-08 22:11
Cedric Moonen20-Aug-08 22:11 
GeneralRe: Copy USB Device Data To System Pin
NewVC++20-Aug-08 22:21
NewVC++20-Aug-08 22:21 
GeneralRe: Copy USB Device Data To System Pin
Cedric Moonen20-Aug-08 22:27
Cedric Moonen20-Aug-08 22:27 
GeneralRe: Copy USB Device Data To System Pin
SandipG 20-Aug-08 22:23
SandipG 20-Aug-08 22:23 
AnswerRe: Copy USB Device Data To System Pin
User 21559720-Aug-08 23:01
User 21559720-Aug-08 23:01 
QuestionDummy Line Pin
NewVC++20-Aug-08 20:31
NewVC++20-Aug-08 20:31 
QuestionRepost. Pin
CPallini20-Aug-08 22:08
mveCPallini20-Aug-08 22:08 
AnswerRe: Repost. Pin
NewVC++20-Aug-08 22:28
NewVC++20-Aug-08 22:28 
GeneralRe: Repost. Pin
CPallini20-Aug-08 22:36
mveCPallini20-Aug-08 22:36 
GeneralRe: Repost. Pin
NewVC++20-Aug-08 23:47
NewVC++20-Aug-08 23:47 
GeneralRe: Repost. Pin
toxcct20-Aug-08 23:52
toxcct20-Aug-08 23:52 
GeneralRe: Repost. Pin
CPallini20-Aug-08 23:56
mveCPallini20-Aug-08 23:56 
QuestionRe: Repost. Pin
David Crow21-Aug-08 3:35
David Crow21-Aug-08 3:35 
AnswerRe: Repost. Pin
NewVC++21-Aug-08 18:19
NewVC++21-Aug-08 18:19 

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.