I want to send a message to a thread that runs as another process (in particular, as a Windows service). I read the documentation for PostThreadMessage , but there are some things for me.
How to get a handle for my service flow?
The system only sorts system messages (ranging from 0 to (WM_USER-1)). To send other messages (those> = WM_USER) to another process, you must perform custom sorting.
I want to send my own messages, so how do I do this?
PostThreadMessage . , . , - , . CreateToolHelp32Snapshot() , , .
. CreateNamedPipe() , "Global", . . , , , , . , .
- , , COM. COM , , . , COM-.
Source: https://habr.com/ru/post/1750989/More articles:Automotive Number Using WIX - installerthe value of "operator" in this C ++ expression - c ++How to disable the back button in an iPhone application - iphonePerforming the interception process in the NT driver - windowsWhat structure of Java web services do you prefer? - javaвызов нового оператора класса - c++Passing association parameters when creating an ActiveRecord object - ruby | fooobar.comRuby командной строки MVC framework? - command-lineWhich use of the compareTo method is more clear? - javaChecking user account by email - c #All Articles