Problem with OpenProcess
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
Here is the function: HANDLE hProcess = OpenProcess(PROCESS_ALL_ACCESS,FALSE,WindowProcessID); WindowProcessID is a DWORD. How do I get the Process ID of a window for use in the third parameter of OpenProcess()? Any help is appreciated. -Dev578
Dev578 wrote: How do I get the Process ID of a window GetWindowThreadProcessId() will tell you that. --Mike-- Personal stuff:: Ericahist | Homepage Shareware stuff:: 1ClickPicGrabber | RightClick-Encrypt CP stuff:: CP SearchBar v2.0.2 | C++ Forum FAQ ---- Laugh it up, fuzzball.