|
-
August 14th, 2009, 09:46 AM
#3
Re: Intercept a WM_ message into a class
Thank you for your interest.
I need to intercept WM_DEVICECHANGE in my C++ class. The purpose of this class was to let everyone use a HID device more easily (a wrapper for the HID apis)
So I am asking myself: why a device change event should be monitored via windows? Why do I have to use a win32 window (or a mfc window) to intercept the device change message? Isn't it stupid? A console application won't be able to use my HID class and communicate with a device without having a window associated, right? That's absolutely stupid, there must be something I don't really know in-depth
Tags for this Thread
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
|