参考
windows 获取系统时间的函数:
void GetLocalTime(
LPSYSTEMTIME lpSystemTime
);
void GetSystemTime(
LPSYSTEMTIME lpSystemTime
);
BOOL QueryPerformanceCounter(
LARGE_INTEGER *lpPerformanceCount
);
BOOL QueryPerformanceFrequency(
LARGE_INTEGER *lpFrequency
);
CTime::GetCurrentTime();
DWORD GetTickCount();
DWORD timeGetTime(VOID);
c 标准库获取系统时间的函数:
// 注意,在调试器中对这个函数下断点时,函数名为 _time64(32位的可能是_time32或_time32)
time_t time(time_t *seconds)
过程
所有函数下端后运行程序,断在 _time64 下:
暴力 ret 掉:
已经没有了 “found Debugger.” 的提示。