Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: MFC
Hi,
 
I want your help.
I have a MFC application (Created in Visual Studio 2008) and I need to launch another dialog based application .exe file (Also created in Visual Studio 2008) on clicking a button from the first application.
 
Thanks in advance.
Posted 14-Sep-12 1:06am

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Two options:
 
Of course you may also use the system[^] CRT call.
  Permalink  
Comments
Vineeth.B at 14-Sep-12 7:29am
   
Thanks for the solution.
 
Will it cause any thread related or process related issues???
CPallini at 14-Sep-12 7:34am
   
Yes and no.
You should read carefully the documentation.
I mean there aren't striking side effects, however you are launching another process. If the two processes need to communicate than you have to use some IPC mechanism.
Vineeth.B at 15-Oct-12 5:20am
   
Thanks for your help.
CPallini at 15-Oct-12 5:27am
   
You are welcome.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 DamithSL 320
1 OriginalGriff 275
2 Sergey Alexandrovich Kryukov 187
3 Afzaal Ahmad Zeeshan 154
4 Peter Leow 115
0 OriginalGriff 7,510
1 DamithSL 5,494
2 Sergey Alexandrovich Kryukov 4,954
3 Maciej Los 4,936
4 Kornfeld Eliyahu Peter 4,514


Advertise | Privacy | Mobile
Web03 | 2.8.141223.1 | Last Updated 14 Sep 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100