Description: Have access to a window that the window of the process is very simple, not that you GetWindowLong look to see how well spyxx obtained. However, she found out was not as simple as that. Access to the process window of the window process is very simple, direct call to GetWindowLong (hWnd, GWL_WNDPROC) can be a (Note that, according to whether the window is Unicode, you have to judge is to call GetWindowLongA, or GetWindowLongW, can be used to determine IsWindowUnicode), However, this function GetWindowLong call the process of internal checks and whether the window handle belonging to the same process, if not, on a simple return 0.
File list (Check if you may need any files):
wepmeter_LQ
...........\Build
...........\.....\Hook1.dll
...........\.....\Hook2.dll
...........\.....\Test.exe
...........\Hook1
...........\.....\Hook1.cpp
...........\.....\Hook1.def
...........\.....\Hook1.dsp
...........\.....\Hook1.h
...........\.....\Hook1.lib
...........\Hook2
...........\.....\Hook2.c
...........\.....\Hook2.def
...........\.....\Hook2.dsp
...........\Test
...........\....\StdAfx.cpp
...........\....\StdAfx.h
...........\....\Test.cpp
...........\....\Test.dsp
...........\WepMetering.dsw