Services run in a separate window station, and have their own desktop. Window messages can only be sent between windows on the same desktop. You won't be able to use window messages for communication between a regular process and a service... More...
Sunday, April 29, 2007
RegisterWindowMessage can return different values for identical strings
RegisterWindowMessage can return different values for the same string between regular processes and windows services on the same physical machine. Additionally, PostMessage(HWND_BROADCAST, ...) will not work across desktops. From microsoft.public.vc.language:
Subscribe to:
Post Comments (Atom)
About Me
- Agnel CJ Kurian
- C/C++ Programmer doing CAD on Windows. Some web development experience. Bangalorean.
Blog Archive
Labels
- .net (11)
- advocacy (1)
- apache (2)
- code (1)
- direct3d (1)
- drawing (1)
- geometry (1)
- graphics (1)
- humour (1)
- javascript (1)
- links (1)
- microsoft (1)
- morons (1)
- postgresql (1)
- programming (4)
- python (1)
- rant (5)
- software (1)
- subversion (2)
- svn (1)
- tools (11)
- trac (1)
- truecrypt (1)
- typing (1)
- vc++ (14)
- video (1)
- vs2008 (1)
- windows-forms (1)
- windows7 (1)
No comments:
Post a Comment