I’m trying to get the process handle of, say example.exe, so I can call TerminateProcess on it. How can I do this? Notice, it doesn’t have a window so FindWindow won’t work.
I’m trying to get the process handle of, say example.exe, so I can call
Share
Also, if you’d like to use PROCESS_ALL_ACCESS in OpenProcess, you could try this: