Expression Evaluator Error CXX0030 expression not evaluatable The debugger’s expression evaluator could not obtain a value for the expression as written. One likely cause is that the expression refers to memory that is outside the program’s address space (dereferencing a null pointer is one example). Windows NT and Windows 95 do not allow access to memory that is outside of the program’s address space.You may want to rewrite your expression using parentheses to control the order of evaluation
expression not evaluatable
The debugger’s expression evaluator could not obtain a value for the expression as written. One likely cause is that the expression refers to memory that is outside the program’s address space (dereferencing a null pointer is one example). Windows NT and Windows 95 do not allow access to memory that is outside of the program’s address space.You may want to rewrite your expression using parentheses to control the order of evaluation
建议你还是查看你程序的上下文关系,确定你SetWindowsHookEx参数的正确性
1、如果你想用Hook到全部系统进程中,则最后一个参数为0;
2、SetWindowsHookEx函数返回的g_hHook应为全局共享类型,最发好在dll中定义共享段或都设置为static变量类型。