المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : C# Globalhook(WH_CALLWNDPROC)



C# Programming
05-06-2009, 08:07 AM
I want to write a program that use global WH_CALLWNDPROC hook.
First,i write a SystemHook.dll in vc++.Then,write a program using SystemHook.dll in C#.If the hook type is WH_MOUSE_LL,the program is ok.
If the hook type is WH_CALLWNDPROC,the system and the program will be broken.
please tell me why,and how can i do,thanks a lot!