Click here to Skip to main content
12,827,305 members (46,778 online)
Rate this:
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 14-Sep-12 7:29am
Thanks for the solution.

Will it cause any thread related or process related issues???
CPallini 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 15-Oct-12 5:20am
Thanks for your help.
CPallini 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
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170326.1 | Last Updated 14 Sep 2012
Copyright © CodeProject, 1999-2017
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