You can create multiple message loops. I just can't fathom a case where this would be desirable.
Type: Posts; User: bithub
You can create multiple message loops. I just can't fathom a case where this would be desirable.
If you don't want to use a dialog window, then your DLL should call SetWindowsHookEx() to set a WH_GETMESSAGE hook. This will allow your DLL to get the window messages from the main message pump so...
No you wont. Windows do not block, they simply return to the message loop. If your window is blocking, chances are you are creating it incorrectly.
Why are you creating multiple threads for this? It seems like a very bad idea. All window handling code should be done in the main message loop thread.