![]() |
使用CTIME在Realease版调试中的错误
ATLTIME_INLINE BOOL WINAPI CTime::IsValidFILETIME(const FILETIME& fileTime) throw()
{ FILETIME localTime; if (!FileTimeToLocalFileTime(&fileTime, &localTime)) { return FALSE; } // then convert that time to system time SYSTEMTIME sysTime; if (!FileTimeToSystemTime(&localTime, &sysTime)) { return FALSE; } return TRUE; } |
所有的时间均为北京时间。 现在的时间是 04:39 AM. |