I try using GetWindowLong API function to get windowproc address (GWL_WNDPROC) of another window in another address space but this function return 0 and GetLastErro is 5 (Access denied) i run my program as administrator and again encountered this problem, please help me?
OS: Win7 x86
If you mean another "process", then, that's not allowed. Have a look here.