Click here to Skip to main content
15,923,852 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionReading a USB device Pin
koumodaki27-Mar-08 6:14
koumodaki27-Mar-08 6:14 
QuestionRe: Reading a USB device Pin
David Crow27-Mar-08 8:05
David Crow27-Mar-08 8:05 
GeneralRe: Reading a USB device Pin
koumodaki27-Mar-08 8:11
koumodaki27-Mar-08 8:11 
QuestionRe: Reading a USB device Pin
David Crow27-Mar-08 8:16
David Crow27-Mar-08 8:16 
GeneralRe: Reading a USB device Pin
koumodaki27-Mar-08 8:25
koumodaki27-Mar-08 8:25 
QuestionRe: Reading a USB device Pin
David Crow27-Mar-08 8:34
David Crow27-Mar-08 8:34 
GeneralRe: Reading a USB device Pin
koumodaki27-Mar-08 9:13
koumodaki27-Mar-08 9:13 
QuestionRe: Reading a USB device Pin
David Crow27-Mar-08 9:17
David Crow27-Mar-08 9:17 
So what happens if you use:

string str = Devices[0] + "\\context.cfg";
HANDLE hUsbDevice = CreateFile(str.c_str(), GENERIC_READ | GENERIC_WRITE, 0, NULL, OPEN_EXISTING, 0, NULL);


"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman

"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne


GeneralRe: Reading a USB device Pin
koumodaki27-Mar-08 9:20
koumodaki27-Mar-08 9:20 
GeneralRe: Reading a USB device Pin
koumodaki27-Mar-08 9:31
koumodaki27-Mar-08 9:31 
GeneralRe: Reading a USB device Pin
David Crow27-Mar-08 9:34
David Crow27-Mar-08 9:34 
QuestionRe: Reading a USB device Pin
koumodaki27-Mar-08 9:40
koumodaki27-Mar-08 9:40 
GeneralRe: Reading a USB device Pin
JudyL_MD27-Mar-08 9:31
JudyL_MD27-Mar-08 9:31 
GeneralRe: Reading a USB device Pin
koumodaki27-Mar-08 9:41
koumodaki27-Mar-08 9:41 
QuestionRe: Reading a USB device Pin
David Crow27-Mar-08 10:14
David Crow27-Mar-08 10:14 
GeneralRe: Reading a USB device Pin
JudyL_MD27-Mar-08 10:25
JudyL_MD27-Mar-08 10:25 
GeneralRe: Reading a USB device Pin
David Crow27-Mar-08 10:30
David Crow27-Mar-08 10:30 
QuestionAutomatically generate serialization code? Pin
Adrian Idar (Ln)27-Mar-08 5:53
Adrian Idar (Ln)27-Mar-08 5:53 
QuestionRe: Automatically generate serialization code? Pin
CPallini27-Mar-08 6:00
mveCPallini27-Mar-08 6:00 
QuestionGdiplus::Bitmap will using a file in read-exclusive mode? Pin
followait27-Mar-08 5:11
followait27-Mar-08 5:11 
Questionhow to hook the window API such as messagebox? thanks Pin
King Tran27-Mar-08 5:10
King Tran27-Mar-08 5:10 
AnswerRe: how to hook the window API such as messagebox? thanks Pin
James R. Twine27-Mar-08 7:32
James R. Twine27-Mar-08 7:32 
AnswerRe: how to hook the window API such as messagebox? thanks Pin
Stephen Hewitt27-Mar-08 14:35
Stephen Hewitt27-Mar-08 14:35 
GeneralRe: how to hook the window API such as messagebox? thanks Pin
King Tran29-Mar-08 2:45
King Tran29-Mar-08 2:45 
GeneralHelp me please Pin
Member 417463927-Mar-08 4:31
Member 417463927-Mar-08 4:31 

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.