How to Kill an .exe
How to Kill an .exe
From Forum Nokia Wiki
Jump to: navigation, search
The following code snippet illustrates the way to kill a running exe.
TFindProcess FindProc;
FindProc.Find(_L("YrExe*"));
TFullName ProcName;
TInt rErr = FindProc.Next(ProcName);
if (!rErr)
{
RProcess Process;
rErr = Process.Open(ProcName, EOwnerThread);
if (!rErr)
{
Process.Kill(KErrCancel);
Process.Close();
}
}
Labels: How to Kill an .exe symbian

66 Comments:
At November 4, 2007 at 4:42 AM ,
Anonymous said...
C0aJYC write more, thanks.
At November 4, 2007 at 7:50 PM ,
Anonymous said...
Please write anything else!
At November 4, 2007 at 10:14 PM ,
Anonymous said...
Good job!
At November 4, 2007 at 10:48 PM ,
Anonymous said...
Nice Article.
At November 4, 2007 at 11:24 PM ,
Anonymous said...
actually, that's brilliant. Thank you. I'm going to pass that on to a couple of people.
At November 4, 2007 at 11:52 PM ,
Anonymous said...
Please write anything else!
At November 5, 2007 at 12:23 AM ,
Anonymous said...
Nice Article.
At November 5, 2007 at 12:53 AM ,
Anonymous said...
Hello all!
At November 5, 2007 at 1:30 AM ,
Anonymous said...
Good job!
At November 5, 2007 at 2:12 AM ,
Anonymous said...
Thanks to author.
At November 5, 2007 at 2:51 AM ,
Anonymous said...
Wonderful blog.
At November 5, 2007 at 3:24 AM ,
Anonymous said...
actually, that's brilliant. Thank you. I'm going to pass that on to a couple of people.
At November 5, 2007 at 3:54 AM ,
Anonymous said...
actually, that's brilliant. Thank you. I'm going to pass that on to a couple of people.
At November 5, 2007 at 4:28 AM ,
Anonymous said...
Friends help you move. Real friends help you move bodies.
At November 5, 2007 at 5:06 AM ,
Anonymous said...
Lottery: A tax on people who are bad at math.
At November 5, 2007 at 5:38 AM ,
Anonymous said...
Hello all!
At November 5, 2007 at 6:05 AM ,
Anonymous said...
The gene pool could use a little chlorine.
At November 5, 2007 at 6:37 AM ,
Anonymous said...
Build a watch in 179 easy steps - by C. Forsberg.
At November 5, 2007 at 7:10 AM ,
Anonymous said...
What is a free gift ? Aren't all gifts free?
At November 5, 2007 at 7:43 AM ,
Anonymous said...
A flashlight is a case for holding dead batteries.
At November 5, 2007 at 8:16 AM ,
Anonymous said...
Wonderful blog.
At November 5, 2007 at 8:47 AM ,
Anonymous said...
actually, that's brilliant. Thank you. I'm going to pass that on to a couple of people.
At November 5, 2007 at 9:20 AM ,
Anonymous said...
Suicidal twin kills sister by mistake!
At November 5, 2007 at 9:53 AM ,
Anonymous said...
Lottery: A tax on people who are bad at math.
At November 5, 2007 at 10:34 AM ,
Anonymous said...
Friends help you move. Real friends help you move bodies
At November 5, 2007 at 11:14 AM ,
Anonymous said...
A lot of people mistake a short memory for a clear conscience.
At November 5, 2007 at 11:51 AM ,
Anonymous said...
actually, that's brilliant. Thank you. I'm going to pass that on to a couple of people.
At November 5, 2007 at 12:25 PM ,
Anonymous said...
actually, that's brilliant. Thank you. I'm going to pass that on to a couple of people.
At November 5, 2007 at 12:57 PM ,
Anonymous said...
C++ should have been called B
At November 5, 2007 at 1:25 PM ,
Anonymous said...
What is a free gift ? Aren't all gifts free?
At November 5, 2007 at 1:52 PM ,
Anonymous said...
Thanks to author.
At November 5, 2007 at 2:22 PM ,
Anonymous said...
Nice Article.
At November 5, 2007 at 2:51 PM ,
Anonymous said...
Lottery: A tax on people who are bad at math.
At November 5, 2007 at 3:23 PM ,
Anonymous said...
When there's a will, I want to be in it.
At November 5, 2007 at 3:58 PM ,
Anonymous said...
Good job!
At November 5, 2007 at 4:33 PM ,
Anonymous said...
Friends help you move. Real friends help you move bodies
At November 5, 2007 at 5:08 PM ,
Anonymous said...
When there's a will, I want to be in it.
At November 5, 2007 at 5:40 PM ,
Anonymous said...
A flashlight is a case for holding dead batteries.
At November 5, 2007 at 6:11 PM ,
Anonymous said...
Friends help you move. Real friends help you move bodies
At November 5, 2007 at 6:44 PM ,
Anonymous said...
Lottery: A tax on people who are bad at math.
At November 5, 2007 at 7:24 PM ,
Anonymous said...
Give me ambiguity or give me something else.
At November 5, 2007 at 8:08 PM ,
Anonymous said...
Energizer Bunny Arrested! Charged with battery.
At November 5, 2007 at 8:41 PM ,
Anonymous said...
actually, that's brilliant. Thank you. I'm going to pass that on to a couple of people.
At November 5, 2007 at 9:21 PM ,
Anonymous said...
Build a watch in 179 easy steps - by C. Forsberg.
At November 5, 2007 at 9:57 PM ,
Anonymous said...
Build a watch in 179 easy steps - by C. Forsberg.
At November 5, 2007 at 10:28 PM ,
Anonymous said...
Nice Article.
At November 5, 2007 at 11:11 PM ,
Anonymous said...
If ignorance is bliss, you must be orgasmic.
At November 5, 2007 at 11:50 PM ,
Anonymous said...
Beam me aboard, Scotty..... Sure. Will a 2x10 do?
At November 6, 2007 at 12:35 AM ,
Anonymous said...
Good job!
At November 6, 2007 at 1:22 AM ,
Anonymous said...
Oops. My brain just hit a bad sector.
At November 6, 2007 at 2:06 AM ,
Anonymous said...
Energizer Bunny Arrested! Charged with battery.
At November 6, 2007 at 2:46 AM ,
Anonymous said...
Hello all!
At November 6, 2007 at 3:33 AM ,
Anonymous said...
All generalizations are false, including this one.
At November 6, 2007 at 4:28 AM ,
Anonymous said...
When there's a will, I want to be in it.
At November 6, 2007 at 5:17 AM ,
Anonymous said...
Energizer Bunny Arrested! Charged with battery.
At November 6, 2007 at 6:00 AM ,
Anonymous said...
640K ought to be enough for anybody. - Bill Gates 81
At November 6, 2007 at 6:39 AM ,
Anonymous said...
Suicidal twin kills sister by mistake!
At November 6, 2007 at 7:17 AM ,
Anonymous said...
When there's a will, I want to be in it.
At November 6, 2007 at 7:53 AM ,
Anonymous said...
Ever notice how fast Windows runs? Neither did I.
At November 6, 2007 at 8:29 AM ,
Anonymous said...
Lottery: A tax on people who are bad at math.
At November 6, 2007 at 9:12 AM ,
Anonymous said...
Build a watch in 179 easy steps - by C. Forsberg.
At November 6, 2007 at 9:55 AM ,
Anonymous said...
Good job!
At November 6, 2007 at 10:39 AM ,
Anonymous said...
Energizer Bunny Arrested! Charged with battery.
At November 6, 2007 at 11:28 AM ,
Anonymous said...
The gene pool could use a little chlorine.
At November 6, 2007 at 12:15 PM ,
Anonymous said...
I don't suffer from insanity. I enjoy every minute of it.
At November 6, 2007 at 12:53 PM ,
Anonymous said...
The gene pool could use a little chlorine.
Post a Comment
Subscribe to Post Comments [Atom]
<< Home