SV
January 13th, 2001, 13:39
Hi
I would like to start a thread in a debug context.
With process, it's like :
invoke CreateProcess, addr buffer, NULL, NULL, NULL, FALSE,
DEBUG_PROCESS+ DEBUG_ONLY_THIS_PROCESS, NULL, NULL, addr startinfo, addr pi
but CreateThread doesn't have this flag possibility.
How can i do ? (SetThreadContext ?)
I would like to start a thread in a debug context.
With process, it's like :
invoke CreateProcess, addr buffer, NULL, NULL, NULL, FALSE,
DEBUG_PROCESS+ DEBUG_ONLY_THIS_PROCESS, NULL, NULL, addr startinfo, addr pi
but CreateThread doesn't have this flag possibility.
How can i do ? (SetThreadContext ?)