Click here to Skip to main content
Sign Up to vote bad
good
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:06


1 solution

Two options:
 
Of course you may also use the system[^] CRT call.
  Permalink  
Comments
Vineeth.B - 14 Sep '12 - 7:29
Thanks for the solution. Will it cause any thread related or process related issues???
CPallini - 14 Sep '12 - 7:34
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 - 15 Oct '12 - 5:20
Thanks for your help.
CPallini - 15 Oct '12 - 5:27
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
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 278
1 Mohammed Hameed 268
2 OriginalGriff 236
3 Mayur_Panchal 153
4 Dave Kreskowiak 125
0 Sergey Alexandrovich Kryukov 8,171
1 OriginalGriff 6,236
2 CPallini 3,482
3 Rohan Leuva 2,703
4 Maciej Los 2,234


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