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 0: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 OriginalGriff 318
1 Sergey Alexandrovich Kryukov 286
2 RyanDev 75
3 PhilLenoir 60
4 nv3 60
0 Sergey Alexandrovich Kryukov 6,691
1 OriginalGriff 6,119
2 CPallini 2,473
3 Richard MacCutchan 1,697
4 Abhinav S 1,560


Advertise | Privacy | Mobile
Web03 | 2.8.140821.2 | 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