Click here to Skip to main content

C / C++ / MFC

 
AnswerRe: How to create an uncompressed avi file from a matrix of data? PinmemberMax_Power_Up26-Feb-13 6:51 
QuestionWaveInOpen() returns error code 11 PinmemberAmbiguousName26-Jan-13 4:14 
AnswerRe: WaveInOpen() returns error code 11 PinmvpRichard MacCutchan26-Jan-13 4:28 
QuestionStuck with function pointers in C and C++ PinmemberSimon Langdon25-Jan-13 1:38 
AnswerRe: Stuck with function pointers in C and C++ PinmvpCPallini25-Jan-13 1:59 
AnswerRe: Stuck with function pointers in C and C++ PinmemberFreak3025-Jan-13 2:08 
GeneralRe: Stuck with function pointers in C and C++ PinmemberSimon Langdon25-Jan-13 2:41 
GeneralRe: Stuck with function pointers in C and C++ PinmemberStefan_Lang29-Jan-13 1:02 
GeneralRe: Stuck with function pointers in C and C++ PinmemberSimon Langdon29-Jan-13 1:38 
GeneralRe: Stuck with function pointers in C and C++ PinmemberStefan_Lang29-Jan-13 5:31 
GeneralRe: Stuck with function pointers in C and C++ PinmvpCPallini25-Jan-13 3:04 
GeneralRe: Stuck with function pointers in C and C++ PinmemberFreak3028-Jan-13 0:30 
AnswerRe: Stuck with function pointers in C and C++ PinmemberStephen Hewitt27-Jan-13 5:40 
QuestionUSB Device Path Handle Problem Pinmemberyogeshs24-Jan-13 22:21 
Hello Friends
I am trying to connect to USB Printer. For that I used SetupDi calls but not able to get devicePath using Enuminterface.
So, I tried to pass devicePath manually to CreateFile'first parameter o create Handle.
After searching a lot, I found that the H/W id is being used for devicepath and it is here that i found from registery
 
LPCWSTR devicePath = L "\\\\?\\USB\\VID_04A9&PID_10A2&REV_0109#{4d36e979-e325-11ce-bfc1-08002be10318}"
 
In curly brackets represent ClassID for Printer device.[tried USB ClassId too]
But I am getting INVALID_HANDLE always.
So,please let me know the what is right devicepath that i can pass to create file to get its handle.
 
Thanks In Advance.
Regards
Yogesh
AnswerRe: USB Device Path Handle Problem PinmemberVaclav_Sal28-Jan-13 11:08 
QuestionHow to create a button on the right of the screen in mfc.? Pinmembermbatra3124-Jan-13 20:53 
AnswerRe: How to create a button on the right of the screen in mfc.? PinmvpRichard MacCutchan24-Jan-13 23:47 
GeneralRe: How to create a button on the right of the screen in mfc.? Pinmembermbatra3127-Jan-13 20:39 
GeneralRe: How to create a button on the right of the screen in mfc.? PinmvpRichard MacCutchan27-Jan-13 23:36 
GeneralRe: How to create a button on the right of the screen in mfc.? Pinmembermbatra3128-Jan-13 1:07 
AnswerRe: How to create a button on the right of the screen in mfc.? PinmemberIain Clarke, Warrior Programmer25-Jan-13 0:13 
GeneralRe: How to create a button on the right of the screen in mfc.? Pinmembermbatra3127-Jan-13 21:11 
AnswerRe: How to create a button on the right of the screen in mfc.? PinmemberAlbert Holguin25-Jan-13 8:47 
QuestionCall CListCtrl::GetItemCount() in work thread proble. Pingroupyu-jian24-Jan-13 18:41 
AnswerRe: Call CListCtrl::GetItemCount() in work thread proble. Pinmember«_Superman_»24-Jan-13 19:03 
AnswerRe: Call CListCtrl::GetItemCount() in work thread proble. PinmemberJochen Arndt24-Jan-13 22:00 
GeneralRe: Call CListCtrl::GetItemCount() in work thread proble. Pingroupyu-jian24-Jan-13 22:48 
GeneralRe: Call CListCtrl::GetItemCount() in work thread proble. PinmemberJochen Arndt24-Jan-13 23:18 
GeneralRe: Call CListCtrl::GetItemCount() in work thread proble. Pingroupyu-jian25-Jan-13 0:40 
QuestionOpen cv C++ PinmemberMember 961996424-Jan-13 8:15 
AnswerRe: Open cv C++ Pinmemberjibesh24-Jan-13 8:44 
Questionhow to compress data using zlib? PinmemberIICTECH24-Jan-13 2:04 
AnswerRe: how to compress data using zlib? PinmvpRichard MacCutchan24-Jan-13 2:45 
AnswerRe: how to compress data using zlib? PinmemberAlbert Holguin25-Jan-13 8:51 
QuestionDebugging Dll Pinmembersarfaraznawaz24-Jan-13 1:30 
QuestionDebugging Dll Pinmembersarfaraznawaz24-Jan-13 1:30 
AnswerRe: Debugging Dll PinmemberSivaraman Dhamodharan24-Jan-13 2:26 
GeneralRe: Debugging Dll Pinmembersarfaraznawaz24-Jan-13 3:58 
GeneralRe: Debugging Dll PinmvpRichard MacCutchan24-Jan-13 4:16 
GeneralRe: Debugging Dll Pinmembersarfaraznawaz30-Jan-13 2:25 
GeneralRe: Debugging Dll PinmvpRichard MacCutchan30-Jan-13 3:55 
GeneralRe: Debugging Dll Pinmembersarfaraznawaz30-Jan-13 4:10 
GeneralRe: Debugging Dll PinmvpRichard MacCutchan30-Jan-13 4:20 
GeneralRe: Debugging Dll Pinmembersarfaraznawaz31-Jan-13 0:06 
GeneralRe: Debugging Dll PinmvpRichard MacCutchan31-Jan-13 0:10 
GeneralRe: Debugging Dll Pinmembersarfaraznawaz31-Jan-13 3:01 
GeneralRe: Debugging Dll PinmvpRichard MacCutchan31-Jan-13 3:04 
GeneralRe: Debugging Dll Pinmembersarfaraznawaz31-Jan-13 3:21 
GeneralRe: Debugging Dll Pinmembersarfaraznawaz5-Feb-13 19:21 
Questionconvert parameter from 'MSTR' to 'char*' Pinmemberksjbharathi24-Jan-13 1:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web04 | 2.8.150129.1 | Last Updated 30 Jan 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid