Executing two project side by side
-
Hi All, I have two project one in mfc and othe in Win32 from MFC project i create on .cpp file that used in win32 API application so i want to execute MFC application first and on the click of OK i want to execute WIN32 API application
-
Hi All, I have two project one in mfc and othe in Win32 from MFC project i create on .cpp file that used in win32 API application so i want to execute MFC application first and on the click of OK i want to execute WIN32 API application
Ok. But where are you stuck??
Every new day is another chance to change your life.
-
Ok. But where are you stuck??
Every new day is another chance to change your life.
Thanks for reply becouse for lots of trial i get first reply now my problem is strait forward i have two application on depend on another like i have mfc application for user selection to generate some data to create .cpp file now this .cpp file used by WIN32 API project to create a Win32 api exe my second project. my concern only with win32 exe not with MFC exe so i want to execute win32 exe after mfc application selection complete
-
Thanks for reply becouse for lots of trial i get first reply now my problem is strait forward i have two application on depend on another like i have mfc application for user selection to generate some data to create .cpp file now this .cpp file used by WIN32 API project to create a Win32 api exe my second project. my concern only with win32 exe not with MFC exe so i want to execute win32 exe after mfc application selection complete
Coder Block wrote:
i want to execute win32 exe after mfc application selection complete
Yes but again, what is your problem? You want to do something after some other event, so add some code to your MFC app to start the second app at the appropriate time.
Unrequited desire is character building. OriginalGriff
-
Hi All, I have two project one in mfc and othe in Win32 from MFC project i create on .cpp file that used in win32 API application so i want to execute MFC application first and on the click of OK i want to execute WIN32 API application
Coder Block wrote:
so i want to execute MFC application first and on the click of OK i want to execute WIN32 API application
So have you tried using
ShellExecute()
orCreateProcess()
?"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Some people are making such thorough preparation for rainy days that they aren't enjoying today's sunshine." - William Feather
-
Hi All, I have two project one in mfc and othe in Win32 from MFC project i create on .cpp file that used in win32 API application so i want to execute MFC application first and on the click of OK i want to execute WIN32 API application
Your question is not clear, those two should work fine side by side and interchangeably. MFC is based around the Win32 API, although you can't call MFC directly in a pure Win32 application without including the necessary libraries and linking the associated compiled MFC libraries.