Hi Nak,
I suggest you create a new thread to do the interprocess communication by
message loop. Because one thread will be associated with one message queue,
if there is something making MyWndProc hang, then all the thread including
the main window's winproc will hang.
Also can you describe your senario more detailed, there may be another
solution.
Best regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! -
www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.