Solved

Loading external program

Posted on 1998-06-18
2
188 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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Running shell command from Access 3 75
Strange date stored 22 123
Hibernate methods 2 71
Remove Password Protection from pdf (with password) using an command line executable 5 50
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: 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.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

773 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