Message Maps in Services
-
Hi, I wrote a test application that trapped WM_DEVICECHANGE. It worked fine so I tried the same thing in a service but I can't seem to catch events in services. Am quite a newbie to Visual C++ so would appreciate all the help i can get. Can I trap such events in services? Mark
-
Hi, I wrote a test application that trapped WM_DEVICECHANGE. It worked fine so I tried the same thing in a service but I can't seem to catch events in services. Am quite a newbie to Visual C++ so would appreciate all the help i can get. Can I trap such events in services? Mark
Create a hidden window in the service and in then message proc you can then listen to the messages.
Interviewer (me) : "Did you install Linux all my yourself?" Candidate : "Yes i installed Linux all my yourself."