Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Killing other applicatioins

Posted on 1998-12-21
1
Medium Priority
?
169 Views
Last Modified: 2013-11-20
I was looking at a question on how to send inputs to another app from your app.  I would like to know how can I kill the process of another app from my app?

0
Comment
Question by:kabrit
1 Comment
 

Accepted Solution

by:
nari earned 100 total points
ID: 1326551
You can send the inputs another application while using Createprocess( ...) for creating
second application (or) else use windows messages to send the data to another application or interprocess - communication mechanisms.

For terminating the process use ExitProcess( ...) or TerminateProcess( ...) functions .
Please see vc++ help for this .
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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.
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

971 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