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 ?)
When you debug, you debug the whole process.