i need to use the api function PostThreadMessage and for the first parameter i need the thread id
and for that i need the process info , my question is how i can get the process info ?
i need to use this function to kill process from other process . this is after using TerminateProcess does not work
gives me exit code 259 , i decided to try to use the PostThreadMessage approach