Click here to Skip to main content
12,451,425 members (53,861 online)

C / C++ / MFC

 
AnswerRe: How to create an uncompressed avi file from a matrix of data? Pin
Max_Power_Up26-Feb-13 5:51
memberMax_Power_Up26-Feb-13 5:51 
QuestionWaveInOpen() returns error code 11 Pin
AmbiguousName26-Jan-13 3:14
memberAmbiguousName26-Jan-13 3:14 
AnswerRe: WaveInOpen() returns error code 11 Pin
Richard MacCutchan26-Jan-13 3:28
mvpRichard MacCutchan26-Jan-13 3:28 
QuestionStuck with function pointers in C and C++ Pin
Simon Langdon25-Jan-13 0:38
memberSimon Langdon25-Jan-13 0:38 
AnswerRe: Stuck with function pointers in C and C++ Pin
CPallini25-Jan-13 0:59
mvpCPallini25-Jan-13 0:59 
AnswerRe: Stuck with function pointers in C and C++ Pin
Freak3025-Jan-13 1:08
memberFreak3025-Jan-13 1:08 
GeneralRe: Stuck with function pointers in C and C++ Pin
Simon Langdon25-Jan-13 1:41
memberSimon Langdon25-Jan-13 1:41 
GeneralRe: Stuck with function pointers in C and C++ Pin
Stefan_Lang29-Jan-13 0:02
memberStefan_Lang29-Jan-13 0:02 
GeneralRe: Stuck with function pointers in C and C++ Pin
Simon Langdon29-Jan-13 0:38
memberSimon Langdon29-Jan-13 0:38 
GeneralRe: Stuck with function pointers in C and C++ Pin
Stefan_Lang29-Jan-13 4:31
memberStefan_Lang29-Jan-13 4:31 
GeneralRe: Stuck with function pointers in C and C++ Pin
CPallini25-Jan-13 2:04
mvpCPallini25-Jan-13 2:04 
GeneralRe: Stuck with function pointers in C and C++ Pin
Freak3027-Jan-13 23:30
memberFreak3027-Jan-13 23:30 
AnswerRe: Stuck with function pointers in C and C++ Pin
Stephen Hewitt27-Jan-13 4:40
memberStephen Hewitt27-Jan-13 4:40 
QuestionUSB Device Path Handle Problem Pin
yogeshs24-Jan-13 21:21
memberyogeshs24-Jan-13 21: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 Pin
Vaclav_Sal28-Jan-13 10:08
memberVaclav_Sal28-Jan-13 10:08 
QuestionHow to create a button on the right of the screen in mfc.? Pin
mbatra3124-Jan-13 19:53
membermbatra3124-Jan-13 19:53 
AnswerRe: How to create a button on the right of the screen in mfc.? Pin
Richard MacCutchan24-Jan-13 22:47
mvpRichard MacCutchan24-Jan-13 22:47 
GeneralRe: How to create a button on the right of the screen in mfc.? Pin
mbatra3127-Jan-13 19:39
membermbatra3127-Jan-13 19:39 
GeneralRe: How to create a button on the right of the screen in mfc.? Pin
Richard MacCutchan27-Jan-13 22:36
mvpRichard MacCutchan27-Jan-13 22:36 
GeneralRe: How to create a button on the right of the screen in mfc.? Pin
mbatra3128-Jan-13 0:07
membermbatra3128-Jan-13 0:07 
AnswerRe: How to create a button on the right of the screen in mfc.? Pin
Iain Clarke, Warrior Programmer24-Jan-13 23:13
memberIain Clarke, Warrior Programmer24-Jan-13 23:13 
GeneralRe: How to create a button on the right of the screen in mfc.? Pin
mbatra3127-Jan-13 20:11
membermbatra3127-Jan-13 20:11 
AnswerRe: How to create a button on the right of the screen in mfc.? Pin
Albert Holguin25-Jan-13 7:47
memberAlbert Holguin25-Jan-13 7:47 
QuestionCall CListCtrl::GetItemCount() in work thread proble. Pin
yu-jian24-Jan-13 17:41
groupyu-jian24-Jan-13 17:41 
AnswerRe: Call CListCtrl::GetItemCount() in work thread proble. Pin
«_Superman_»24-Jan-13 18:03
member«_Superman_»24-Jan-13 18:03 
AnswerRe: Call CListCtrl::GetItemCount() in work thread proble. Pin
Jochen Arndt24-Jan-13 21:00
memberJochen Arndt24-Jan-13 21:00 
GeneralRe: Call CListCtrl::GetItemCount() in work thread proble. Pin
yu-jian24-Jan-13 21:48
groupyu-jian24-Jan-13 21:48 
GeneralRe: Call CListCtrl::GetItemCount() in work thread proble. Pin
Jochen Arndt24-Jan-13 22:18
memberJochen Arndt24-Jan-13 22:18 
GeneralRe: Call CListCtrl::GetItemCount() in work thread proble. Pin
yu-jian24-Jan-13 23:40
groupyu-jian24-Jan-13 23:40 
QuestionOpen cv C++ Pin
Member 961996424-Jan-13 7:15
memberMember 961996424-Jan-13 7:15 
AnswerRe: Open cv C++ Pin
jibesh24-Jan-13 7:44
memberjibesh24-Jan-13 7:44 
Questionhow to compress data using zlib? Pin
IICTECH24-Jan-13 1:04
memberIICTECH24-Jan-13 1:04 
AnswerRe: how to compress data using zlib? Pin
Richard MacCutchan24-Jan-13 1:45
mvpRichard MacCutchan24-Jan-13 1:45 
AnswerRe: how to compress data using zlib? Pin
Albert Holguin25-Jan-13 7:51
memberAlbert Holguin25-Jan-13 7:51 
QuestionDebugging Dll Pin
sarfaraznawaz24-Jan-13 0:30
membersarfaraznawaz24-Jan-13 0:30 
QuestionDebugging Dll Pin
sarfaraznawaz24-Jan-13 0:30
membersarfaraznawaz24-Jan-13 0:30 
AnswerRe: Debugging Dll Pin
Sivaraman Dhamodharan24-Jan-13 1:26
memberSivaraman Dhamodharan24-Jan-13 1:26 
GeneralRe: Debugging Dll Pin
sarfaraznawaz24-Jan-13 2:58
membersarfaraznawaz24-Jan-13 2:58 
GeneralRe: Debugging Dll Pin
Richard MacCutchan24-Jan-13 3:16
mvpRichard MacCutchan24-Jan-13 3:16 
GeneralRe: Debugging Dll Pin
sarfaraznawaz30-Jan-13 1:25
membersarfaraznawaz30-Jan-13 1:25 
GeneralRe: Debugging Dll Pin
Richard MacCutchan30-Jan-13 2:55
mvpRichard MacCutchan30-Jan-13 2:55 
GeneralRe: Debugging Dll Pin
sarfaraznawaz30-Jan-13 3:10
membersarfaraznawaz30-Jan-13 3:10 
GeneralRe: Debugging Dll Pin
Richard MacCutchan30-Jan-13 3:20
mvpRichard MacCutchan30-Jan-13 3:20 
GeneralRe: Debugging Dll Pin
sarfaraznawaz30-Jan-13 23:06
membersarfaraznawaz30-Jan-13 23:06 
GeneralRe: Debugging Dll Pin
Richard MacCutchan30-Jan-13 23:10
mvpRichard MacCutchan30-Jan-13 23:10 
GeneralRe: Debugging Dll Pin
sarfaraznawaz31-Jan-13 2:01
membersarfaraznawaz31-Jan-13 2:01 
GeneralRe: Debugging Dll Pin
Richard MacCutchan31-Jan-13 2:04
mvpRichard MacCutchan31-Jan-13 2:04 
GeneralRe: Debugging Dll Pin
sarfaraznawaz31-Jan-13 2:21
membersarfaraznawaz31-Jan-13 2:21 
GeneralRe: Debugging Dll Pin
sarfaraznawaz5-Feb-13 18:21
membersarfaraznawaz5-Feb-13 18:21 
Questionconvert parameter from 'MSTR' to 'char*' Pin
ksjbharathi24-Jan-13 0:27
memberksjbharathi24-Jan-13 0: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.


Advertise | Privacy | Mobile
Web02 | 2.8.160826.1 | Last Updated 28 Aug 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid