OpenProcess on x64 images from Win32 app
This is weird. Earlier, running Windows 7 x64, I had trouble calling the Win32 OpenProcess against 64-bit processes. Googled around a bit, and came to the sinking conclusion this just wasn't gonna happen. Then a funny thing happened. I tried it against the process ID for explorer.exe, and holy carp , it worked! Started throwing other process IDs at it, and it's just a darned crapshoot. As it turns out, I can call OpenProcess against a good number of x64 processes -- explorer, itype, ipoint, taskhost, cmd, mstsc, ..., etc. And others pop a 5 (Access is denied) -- winlogon, csrss, services,