|
-
April 28th, 2011, 09:57 AM
#2
Re: [RegisterDeviceNotification] Handle connection/disconnection of a USB HID device
You have to have 'normal' window in a separate thread to catch notifications. The window is not obliged to be visible anyhow, and it can be a message-only window alright.
The main problem with console window is: the window procedure is not controlled/monitored by your application like this is done in case of MFC window.
Last edited by Igor Vartanov; April 28th, 2011 at 10:34 AM.
Best regards,
Igor
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|