Link to home
Start Free TrialLog in
Avatar of Hypoviax
HypoviaxFlag for Australia

asked on

Pausing another program

I have noticed with programs such as Zone Alarm that the program has the ability to effectively pause another program in its tracks, or prevent it from loading. I was wondering how this can be achieved in Delphi. I do not want the 'other' program terminated just paused. If i decide it to be 'good' then allow the program to continue from where it was paused.

Thanks,

Hypoviax
Avatar of rbohac
rbohac

GloomyFriar,

that is the same Q I posted
rbohac,
You have the sources? I have. ;-)
It's not that difficult. Using toolhelp + OpenThread + SuspendThread. It gets more difficult if you want to support NT4, win95 and win98, though.
Avatar of Hypoviax

ASKER

Hi GloomyFriar,

I totally forgot about that post, i myself made a couple posts. However having re-read the posts i see that you e-mailed the final accepted answer to the guy. Will the code you wrote further up the page work satisfactoraly or do i need your other code you e-mailed. If so then can you post it or if it is to big e-mail it to

hypoviax@zin.dhs.org

Regards,

Hypoviax
Hypoviax,

I've sent the sources to you.
Hi GloomyFriar - can you re-send the sources, the server may have been down around when you sent it. I'll accept your answer when i get it. Thanks all

Regards,

Hypoviax
ASKER CERTIFIED SOLUTION
Avatar of GloomyFriar
GloomyFriar

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks Gloomy, I can not raise it much but i did any way. I'll accept the last comment so you can get the points from your comments...

Regards, and Thanks heaps,

Hypoviax