几何尺寸与公差论坛

 找回密码
 注册
查看: 1821|回复: 0

使用CTIME在Realease版调试中的错误

[复制链接]
发表于 2007-4-8 20:12:40 | 显示全部楼层 |阅读模式
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;
}
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-5-10 16:37 , Processed in 0.035187 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表