Question : How to pause a process execution in C++

Hello, I would like to know if there's a way to block the execution of another processus and resume it some time later.

Thanks

Answer : How to pause a process execution in C++

There is an article on CodeProject about it:

Win32 process suspend/resume tool

http://www.codeproject.com/KB/threads/pausep.aspx

The article contains the code.

The main idea is to detect all threads of the process and suspend them. Probbaly, Visual Studio debugger does the same.

 

Random Solutions  
 
programming4us programming4us