Click here to Skip to main content
15,904,346 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: How does GDI+ decide which to use, alphablending or dithering? Pin
JackDingler17-Jan-13 5:07
JackDingler17-Jan-13 5:07 
Questionhow to get window color? Pin
VCProgrammer16-Jan-13 1:36
VCProgrammer16-Jan-13 1:36 
AnswerRe: how to get window color? Pin
Richard MacCutchan16-Jan-13 2:12
mveRichard MacCutchan16-Jan-13 2:12 
GeneralRe: how to get window color? Pin
VCProgrammer16-Jan-13 17:40
VCProgrammer16-Jan-13 17:40 
AnswerRe: how to get window color? Pin
Jochen Arndt16-Jan-13 22:19
professionalJochen Arndt16-Jan-13 22:19 
GeneralRe: how to get window color? Pin
VCProgrammer18-Jan-13 18:42
VCProgrammer18-Jan-13 18:42 
QuestionHow to draw a banner and button ? Pin
VCProgrammer15-Jan-13 20:24
VCProgrammer15-Jan-13 20:24 

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.