возможно сделать хук wndproc незная названия окна, но зная название процесса?
How can I get a process handle by its name in C++?
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.
stackoverflow.com
Get hwnd by process id c++
How can I get the HWND of application, if I know the process ID? Anyone could post a sample please? I'm using MSV C++ 2010. I found Process::MainWindowHandle but I don't know how to use it.
stackoverflow.com
Changing HWND Window Procedure in runtime
I'm working in an IDE which creates a hwnd and its respective WndProc LRESULT CALLBACK. I need to change the WndProc to a custom one. I've read that SetWindowLong would do the job, but I can't find...
stackoverflow.com