- Jul 13, 2010
- 143
- 0
- 0
Hi,
Can someone please help with the following problem:
I launch an application let's say notepad,exe with CreateProcess and call EnumWindows. within the EnumWindows procedure I call GetWindowThreadProcessId for the hWnd and compare it to the process ID retrieved from CreateProces, if it matches I call GetClassName. But it doesn't work. EnumWindows does not return a process ID identical to the one from CreateProces
Thanks.
Can someone please help with the following problem:
I launch an application let's say notepad,exe with CreateProcess and call EnumWindows. within the EnumWindows procedure I call GetWindowThreadProcessId for the hWnd and compare it to the process ID retrieved from CreateProces, if it matches I call GetClassName. But it doesn't work. EnumWindows does not return a process ID identical to the one from CreateProces
Thanks.