bobfromb
July 16th, 2004, 11:38 AM
Hello,
I have a console application that I start from my GUI application as follows:
WinExec(page->m_PlatingMasterConsoleExe.c_str(), SW_SHOW);
The idea is to catch a message when I close the console window before it finishes (e.g. forced finish of application by user who do not wants to wait until the console reaches its end).
Is there a way to catch messages from a console application.
Any code samples are higly appreciated.
Bob
I have a console application that I start from my GUI application as follows:
WinExec(page->m_PlatingMasterConsoleExe.c_str(), SW_SHOW);
The idea is to catch a message when I close the console window before it finishes (e.g. forced finish of application by user who do not wants to wait until the console reaches its end).
Is there a way to catch messages from a console application.
Any code samples are higly appreciated.
Bob