|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Close Programs
How do you close another program that is open from within your program? For instance, whenever I run my program, I want it to close all open applications.
|
|
#2
|
||||
|
||||
|
I cannot answer your question, but whoever can will first need to know what OS you're trying this in. Windows? Linux? OS9? CP/M?
In Linux, you should be able to send a TERM signal to the other processes. In Windows, I think it will involve shell programming, possibly Windows Script Host. But we will need to know the OS first. |
|
#3
|
||||
|
||||
|
For Windows, see this thread http://forums.devshed.com/showthrea...&threadid=51593
|
|
#4
|
|||
|
|||
|
Quote:
I'm running it in Windows using Visual C++. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > C Programming > Close Programs |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|