GIDForums  

Go Back   GIDForums > Computer Programming Forums > C Programming Language
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 18-Sep-2004, 17:56
electron electron is offline
Awaiting Email Confirmation
 
Join Date: Sep 2004
Posts: 2
electron is on a distinguished road

How to stop a aplication


I have aplication A, it launch aplication B with shellexecute.
I want to stop aplication B from aplication A
Thanks for your time
  #2  
Old 20-Sep-2004, 08:14
dsmith's Avatar
dsmith dsmith is offline
Senior Member
 
Join Date: Jan 2004
Location: Utah, USA
Posts: 1,351
dsmith is a glorious beacon of lightdsmith is a glorious beacon of lightdsmith is a glorious beacon of lightdsmith is a glorious beacon of lightdsmith is a glorious beacon of light
Quote:
Originally Posted by electron
I have aplication A, it launch aplication B with shellexecute.
I want to stop aplication B from aplication A
Thanks for your time

Hi. What O/S are you using? In *nix, you can terminate an application as long as you know its PID:

CPP / C++ / C Code:
#include <signal.h>

       int kill(pid_t pid, int sig);

Can you give a bit more detail about how you are calling your process? And what O/S?
 
 

Recent GIDBlogProblems with the Navy (Enlisted) by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Debugging problem.... Max C Programming Language 4 04-Aug-2004 04:59

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 23:09.


vBulletin, Copyright © 2000 - 2010, Jelsoft Enterprises Ltd.