So when I tried to hook an windows API function example
void* orginalSetCursor = nullptr;
hook(SetCursor, hkSetCursor, &orginalSetCursor);
this throws an access violation at 0x0000000000000000 lol
hooking other functions works just fine, just the Windows API does not work
So when I tried to hook an windows API function example
this throws an access violation at 0x0000000000000000 lol
hooking other functions works just fine, just the Windows API does not work