Re: Make a program unkillalbe
From: Les Pawelczyk (lechp_at_sympatico.ca)
Date: 12/31/03
- Next message: Muzzy: "Calling DLL fucn with ShortString param fails"
- Previous message: Eric Hill: "Re: Make a program unkillalbe"
- In reply to: Eric Hill: "Re: Make a program unkillalbe"
- Next in thread: Eric Hill: "Re: Make a program unkillalbe"
- Reply: Eric Hill: "Re: Make a program unkillalbe"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 31 Dec 2003 02:29:16 -0500
> Build two applications, LEFT.EXE and RIGHT.EXE.
>
> LEFT and RIGHT monitor for each other, and if the other doesn't exist, it
is
> started.
>
> Have the check happen every 10th of a second or so. It's practically
> impossible to kill two processes in that short of timeframe.
Very devious. You might not be able to stop two processes manually
simultaneously, but there are third party utilities (kill.exe) that can be
put in the batch (BAT) file to kill two applications much faster than in
10th of the second. Also, many people reading this newsgroup are quite
capable of quickly writing their own utility to kill multiple processes at
once. Most of them are able to rename 'left.exe' and 'right.exe' by making
use of 'MoveFileEx' API call that includes MOVEFILE_DELAY_UNTIL_REBOOT in
dwFlags. There is another way: Create a batch file that will rename (or
delete) both 'left.exe' and 'right.exe' into something like 'left.tmp' and
'right.tmp' and create an entry for that batch file in
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce and
then restart the computer.
Les.
- Next message: Muzzy: "Calling DLL fucn with ShortString param fails"
- Previous message: Eric Hill: "Re: Make a program unkillalbe"
- In reply to: Eric Hill: "Re: Make a program unkillalbe"
- Next in thread: Eric Hill: "Re: Make a program unkillalbe"
- Reply: Eric Hill: "Re: Make a program unkillalbe"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|