We help IT Professionals succeed at work.

Pausing another program

Hypoviax
Hypoviax asked
on
266 Views
Last Modified: 2010-04-05
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
Comment
Watch Question

Commented:
GloomyFriar,

that is the same Q I posted
rbohac,
You have the sources? I have. ;-)

Commented:
It's not that difficult. Using toolhelp + OpenThread + SuspendThread. It gets more difficult if you want to support NT4, win95 and win98, though.

Author

Commented:
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.

Author

Commented:
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
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
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
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.