Solved

Loading external program

Posted on 1998-06-18
2
185 Views
Last Modified: 2013-11-20
How can I load another program before starting into my app?
I want to load a commercial "system status" type app that stays in the taskbar whenever I run my application.
Is the best way using an MFC function or just doing a 'cheat' through Windows?
0
Comment
Question by:VEngineer
2 Comments
 
LVL 7

Accepted Solution

by:
galkin earned 10 total points
ID: 1318170
You can lauch another application with CreateProcess that returns handle to the process created. Then you can terminate process with TerminateProcess using handle obtained
0
 
LVL 2

Author Comment

by:VEngineer
ID: 1318171
Can you give a quick example.. like loading Notepad for instance.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now