Can Signnal'ed Event Generate a User Message
-
Hi, I have a dos console process communicating with a MFC Win32 program/process I created a Cevent object passed the synchronization object to Dos console process created Process Table entry (DuplicateHandle) on the MFC WIN32 end I have a Cdiloag residing in a Cwinthread UI flavor My question is can the WIndow sdk api call SetEvent (to signal the shared Kernel object event) genarate a message to the MFC Cdialog thread thankx
-
Hi, I have a dos console process communicating with a MFC Win32 program/process I created a Cevent object passed the synchronization object to Dos console process created Process Table entry (DuplicateHandle) on the MFC WIN32 end I have a Cdiloag residing in a Cwinthread UI flavor My question is can the WIndow sdk api call SetEvent (to signal the shared Kernel object event) genarate a message to the MFC Cdialog thread thankx
-
Hi, I have a dos console process communicating with a MFC Win32 program/process I created a Cevent object passed the synchronization object to Dos console process created Process Table entry (DuplicateHandle) on the MFC WIN32 end I have a Cdiloag residing in a Cwinthread UI flavor My question is can the WIndow sdk api call SetEvent (to signal the shared Kernel object event) genarate a message to the MFC Cdialog thread thankx
-
If i understand your question, you should be able to intercept the event and generate the message yourself.
-
If i understand your question, you should be able to intercept the event and generate the message yourself.
-
Hi, I have a dos console process communicating with a MFC Win32 program/process I created a Cevent object passed the synchronization object to Dos console process created Process Table entry (DuplicateHandle) on the MFC WIN32 end I have a Cdiloag residing in a Cwinthread UI flavor My question is can the WIndow sdk api call SetEvent (to signal the shared Kernel object event) genarate a message to the MFC Cdialog thread thankx
As i understood, you have two applications 1. Console Application 2. MFC GUI Application( GUI thread derived ) Now you create a CEvent object in console application and duplicate the handle of the event object in MFC GUI. So that means, you are looking to get the event change in both process, isn't it? Now you have a doubt that if you call a SetEvent from Console application then whether it will generate a message to MFC thread. As far as i understood, if u have the same concern then It is yes, it will signal the wait inside the GUI application. But remember one thing this event is send to all the applications which have the same named event.
Величие не Бога может быть недооценена.
-
As i understood, you have two applications 1. Console Application 2. MFC GUI Application( GUI thread derived ) Now you create a CEvent object in console application and duplicate the handle of the event object in MFC GUI. So that means, you are looking to get the event change in both process, isn't it? Now you have a doubt that if you call a SetEvent from Console application then whether it will generate a message to MFC thread. As far as i understood, if u have the same concern then It is yes, it will signal the wait inside the GUI application. But remember one thing this event is send to all the applications which have the same named event.
Величие не Бога может быть недооценена.