A call to PInvoke function 'Mzks!Mzks.GlobalHooks::InitializeMouseLLHook' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention and parameters of the PInvoke signature match the target unmanaged signature.警告的语句:InitializeMouseLLHook(0, _Handle);------------------------
从cp上面下了一个c#全局钩子的例子,单独运行例子不报错,将代码CC CV入其他项目的时候报警告了。
虽然警告不怕,但是想知道为什么...
谢谢大家!