Re: Notifications in a .dll



Can you use a message queue instead, it could be neater?

--
--
GraemeW
Blog - http://ce4all.blogspot.com

"Glindberg" <Glindberg@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:EC3C57D4-4334-4FA1-BC70-DE1B8AA03F4B@xxxxxxxxxxxxxxxx
I'm kinda new to doing windows & mobile development, so this may be
obvious
to most, but I'm having trouble finding a decent solution.

I need to get some notifications that require a window handle to be passed
in for the request but I'm trying to do this in a dll or from a command
line
program that doesn't have a window associated with it. What is the best
way
to satisfy the request's (in my current case the SHChangeNotifyRegister()
call) need to have a window handle to return the notification to?

Greg


.



Relevant Pages

  • Re: POOM Notifications
    ... Outlook notifications, ... HWND hWnd; ... BOOL InitInstance(HINSTANCE, int); ... // PURPOSE: Registers the window class. ...
    (microsoft.public.pocketpc.developer)
  • Re: POOM Notifications
    ... Outlook notifications, ... HWND hWnd; ... BOOL InitInstance(HINSTANCE, int); ... // PURPOSE: Registers the window class. ...
    (microsoft.public.pocketpc.developer)
  • Re: POOM Notifications
    ... Outlook notifications, ... HWND hWnd; ... BOOL InitInstance(HINSTANCE, int); ... // PURPOSE: Registers the window class. ...
    (microsoft.public.pocketpc.developer)
  • POOM Notifications
    ... I've searched high and low for a complete, working example of Pocket Outlook ... and put it in a Win32 project, however, my window never gets notified. ... BOOL InitInstance(HINSTANCE, int); ... // so the notifications can be processed from it's wndproc. ...
    (microsoft.public.pocketpc.developer)
  • Re: Whats the best way for notify UserMode Apps about hardware changes?
    ... Even if your driver doesn't care about these events, ... be your main window or, if you're writing a console app, a hidden window). ... You call this function once to register for Arrival notifications (use ... To synchronize with reads you could use overlapped I/O and merge it into ...
    (microsoft.public.development.device.drivers)

Loading