出错!!!
Member function must be called or its address taken
为什么?????
...全文
66626打赏收藏
日志钩子的问题!!!
if(g_hLogHook==NULL) //安装日志钩子 g_hLogHook=SetWindowsHookEx(WH_JOURNALRECORD,(HOOKPROC)JournalLogProc,HInstance,0); 出错!!! Member function must be called or its address taken 为什么?????
int idHook, // type of hook to install
HOOKPROC lpfn, // address of hook procedure
HINSTANCE hMod, // handle of application instance
DWORD dwThreadId // identity of thread to install hook for
);
(HOOKPROC)JournalLogProc不是地址吗???