Click here to Skip to main content
15,892,537 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Need Debugging tips: MFC static library DLL Pin
Richard MacCutchan17-Jan-13 23:07
mveRichard MacCutchan17-Jan-13 23:07 
QuestionRe: Need Debugging tips: MFC static library DLL Pin
Clark Kent12318-Jan-13 3:03
professionalClark Kent12318-Jan-13 3:03 
AnswerRe: Need Debugging tips: MFC static library DLL Pin
David Knechtges18-Jan-13 3:43
David Knechtges18-Jan-13 3:43 
GeneralRe: Need Debugging tips: MFC static library DLL Pin
Clark Kent12318-Jan-13 4:19
professionalClark Kent12318-Jan-13 4:19 
AnswerRe: Need Debugging tips: MFC static library DLL Pin
Richard MacCutchan18-Jan-13 4:11
mveRichard MacCutchan18-Jan-13 4:11 
GeneralRe: Need Debugging tips: MFC static library DLL Pin
Clark Kent12318-Jan-13 4:18
professionalClark Kent12318-Jan-13 4:18 
GeneralRe: Need Debugging tips: MFC static library DLL Pin
Richard MacCutchan18-Jan-13 4:23
mveRichard MacCutchan18-Jan-13 4:23 
GeneralRe: Need Debugging tips: MFC static library DLL Pin
Clark Kent12318-Jan-13 4:32
professionalClark Kent12318-Jan-13 4:32 
AnswerRe: Need Debugging tips: MFC static library DLL Pin
Alan Balkany18-Jan-13 5:21
Alan Balkany18-Jan-13 5:21 
QuestionHow to detect USB Device and sends data Pin
002comp16-Jan-13 21:24
002comp16-Jan-13 21:24 
AnswerRe: How to detect USB Device and sends data Pin
«_Superman_»16-Jan-13 21:54
professional«_Superman_»16-Jan-13 21:54 
GeneralRe: How to detect USB Device and sends data Pin
002comp16-Jan-13 23:05
002comp16-Jan-13 23:05 
GeneralRe: How to detect USB Device and sends data Pin
Jochen Arndt17-Jan-13 0:49
professionalJochen Arndt17-Jan-13 0:49 
AnswerRe: How to detect USB Device and sends data Pin
Dean M. Sands, III17-Jan-13 3:09
Dean M. Sands, III17-Jan-13 3:09 
AnswerRe: How to detect USB Device and sends data Pin
Erudite_Eric18-Jan-13 0:22
Erudite_Eric18-Jan-13 0:22 
You need to register for device change notification events specifying the USB UID. And on start up you need to enumerate the device already there.

It is a two stage registration process, by type then by handle, that way you get the device removal notification event and you can release any handles you have open on the device (else you screw the system up).

Dont have any links but the SDK should provide all the funcs you need if you search for 'device change notification'.

--edit--

Actualy google threw this up straight away: http://msdn.microsoft.com/en-us/library/windows/desktop/aa363432(v=vs.85).aspx
==============================

Nothing to say.

QuestionMFC architecture Pin
shanmugarajaa16-Jan-13 18:37
shanmugarajaa16-Jan-13 18:37 
AnswerRe: MFC architecture Pin
SujayG16-Jan-13 18:49
SujayG16-Jan-13 18:49 
AnswerRe: MFC architecture Pin
«_Superman_»16-Jan-13 21:56
professional«_Superman_»16-Jan-13 21:56 
AnswerRe: MFC architecture Pin
Alan Balkany17-Jan-13 5:14
Alan Balkany17-Jan-13 5:14 
AnswerRe: MFC architecture Pin
Maximilien17-Jan-13 9:29
Maximilien17-Jan-13 9:29 
GeneralRe: MFC architecture Pin
SujayG17-Jan-13 18:54
SujayG17-Jan-13 18:54 
GeneralRe: MFC architecture Pin
Maximilien18-Jan-13 1:26
Maximilien18-Jan-13 1:26 
QuestionHow does GDI+ decide which to use, alphablending or dithering? Pin
Code-o-mat16-Jan-13 10:49
Code-o-mat16-Jan-13 10:49 
AnswerRe: How does GDI+ decide which to use, alphablending or dithering? Pin
JackDingler16-Jan-13 11:13
JackDingler16-Jan-13 11:13 
GeneralRe: How does GDI+ decide which to use, alphablending or dithering? Pin
Code-o-mat16-Jan-13 23:21
Code-o-mat16-Jan-13 23:21 

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.