hellothe program give below display the information of process and threads that started in the system, i want to suspend the thread of process that is recently started is functio is available bu i dotknow how to use it or may beother function available to suspend thread if any oneknows then plz reply me how to suspend current opened threadbye/*http://msdn2.microsoft.com/En-US/library/ms684847.aspx
* Process ad Thread functions
*/
using
namespace
{
static extern Boolean Sleep(UInt32 duration);*/
q.EventClassName =
w.EventArrived +=
qT.EventClassName =
wT.EventArrived +=
w.Start();
wT.Start();
}
PClass =
PInstance = PClass.CreateInstance();
processid = (
a++;
TClass =
TInstance = TClass.CreateInstance();
state = (
Tprocessid = (
DWORD WINAPI SuspendThread(
HANDLE hThread
);
problem: how to use in program
*
TInstance.InvokeMethod("SuspendThread");*/
ev.Run();