Solved

Loading external program

Posted on 1998-06-18
2
191 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
viewing source code from eclipse 13 110
matchUp  challenge 6 76
Modbus - whats the maximum I can store in one register? 4 81
Problem to open Excel file 15 215
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.

740 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