I have
hook = SetWindowsHookEx(WH_MOUSE, &Proc, NULL, ThreadID);
Proc is the standard hook proc:
public extern (Windows) LRESULT Proc(int code, WPARAM wParam,
LPARAM lParam)
I get a type mismatch because Proc is a delegate and
SetWindowsHookEx expects a function. Making proc static works
On 09/09/15 12:18 PM, Prudence wrote:
I have
hook = SetWindowsHookEx(WH_MOUSE, &Proc, NULL, ThreadID);
Proc is the standard hook proc:
public extern (Windows) LRESULT Proc(int code, WPARAM wParam, LPARAM
lParam)
I get a type mismatch because Proc is a delegate and SetWindowsHookEx
expects a f