Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: MFC
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
Please Sign up or sign in to vote.

Solution 1

Two options:
Of course you may also use the system[^] CRT call.
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 260
1 ProgramFOX 165
2 Peter Leow 130
3 Zoltán Zörgő 130
4 Maciej Los 80
0 OriginalGriff 260
1 ProgramFOX 145
2 Peter Leow 130
3 Sergey Alexandrovich Kryukov 85
4 Fredrik Bornander 75

Advertise | Privacy | Mobile
Web01 | 2.8.150301.1 | Last Updated 14 Sep 2012
Copyright © CodeProject, 1999-2015
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