Click here to Skip to main content
15,893,486 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDeviceIoControl question Pin
RomTibi28-Feb-12 8:11
RomTibi28-Feb-12 8:11 
AnswerRe: DeviceIoControl question Pin
Randor 28-Feb-12 15:17
professional Randor 28-Feb-12 15:17 
GeneralRe: DeviceIoControl question Pin
RomTibi1-Mar-12 4:49
RomTibi1-Mar-12 4:49 
GeneralRe: DeviceIoControl question Pin
Randor 1-Mar-12 8:00
professional Randor 1-Mar-12 8:00 
GeneralRe: DeviceIoControl question Pin
RomTibi1-Mar-12 9:53
RomTibi1-Mar-12 9:53 
GeneralRe: DeviceIoControl question Pin
Randor 2-Mar-12 0:39
professional Randor 2-Mar-12 0:39 
GeneralRe: DeviceIoControl question Pin
RomTibi2-Mar-12 4:25
RomTibi2-Mar-12 4:25 
GeneralRe: DeviceIoControl question Pin
Randor 2-Mar-12 18:18
professional Randor 2-Mar-12 18:18 
Hi,

With that error... it sounds like you are sending the control code to the wrong device. What handle are you passing to DeviceIoControl?

I would suggest that you use this sample:
www.intel.com/intelpress/usb/examples/DUSBVC.PDF[^]

I have compiled it and confirmed that it works with the 7600.16385.1 DDK. Just paste the code from the Intel PDF file into a Multi-Byte console application created from Visual Studio. You will need to add this #include path to the project:

\7600.16385.1\inc\api

Copy and paste programming at its best.

Best Wishes,
-Copy&Paste
GeneralRe: DeviceIoControl question Pin
RomTibi5-Mar-12 8:25
RomTibi5-Mar-12 8:25 
GeneralRe: DeviceIoControl question Pin
Randor 5-Mar-12 12:38
professional Randor 5-Mar-12 12:38 
GeneralRe: DeviceIoControl question Pin
RomTibi5-Mar-12 18:14
RomTibi5-Mar-12 18:14 
GeneralRe: DeviceIoControl question Pin
Randor 6-Mar-12 4:16
professional Randor 6-Mar-12 4:16 
GeneralRe: DeviceIoControl question Pin
RomTibi6-Mar-12 4:29
RomTibi6-Mar-12 4:29 
GeneralRe: DeviceIoControl question Pin
RomTibi9-Mar-12 9:19
RomTibi9-Mar-12 9:19 
QuestionRe: DeviceIoControl question Pin
Randor 9-Mar-12 11:45
professional Randor 9-Mar-12 11:45 
AnswerRe: DeviceIoControl question Pin
RomTibi10-Mar-12 9:31
RomTibi10-Mar-12 9:31 
AnswerRe: DeviceIoControl question Pin
RomTibi16-Mar-12 6:31
RomTibi16-Mar-12 6:31 
GeneralRe: DeviceIoControl question Pin
Randor 16-Mar-12 14:01
professional Randor 16-Mar-12 14:01 
GeneralRe: DeviceIoControl question Pin
RomTibi16-Mar-12 20:29
RomTibi16-Mar-12 20:29 
GeneralRe: DeviceIoControl question Pin
Randor 21-Mar-12 10:55
professional Randor 21-Mar-12 10:55 
GeneralRe: DeviceIoControl question Pin
K4HVDs22-Mar-12 6:39
K4HVDs22-Mar-12 6:39 
QuestionRe: DeviceIoControl question Pin
Randor 27-Mar-12 14:00
professional Randor 27-Mar-12 14:00 
AnswerRe: DeviceIoControl question Pin
K4HVDs27-Mar-12 17:56
K4HVDs27-Mar-12 17:56 
QuestionNeed debugger Pin
Mast Avalons28-Feb-12 5:06
Mast Avalons28-Feb-12 5:06 
AnswerRe: Need debugger Pin
Richard MacCutchan28-Feb-12 5:27
mveRichard MacCutchan28-Feb-12 5:27 

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.