以下代码产生错误:
error C2296: '*' : illegal, left operand has type '__int64 *'|
错误行 (<------)
DWORD increasefactor = 1;
__int64 initialtime64 = 0;
__int64 initialoffset64 = 0;
...
BOOL WINAPI QueryPerformanceCounter_Detour(__int64 *lp)
{
BOOL ret = QueryPerformanceCounter_Trampoline(lp);
lp = ((lp-initialtime64)*increasefactor)+initialoffset64; // <------
return ret;
}
我的错在哪里?
提前非常感谢。