int GetFileInfo(string& strPath, int& iCreateTime, int& iModifyTime, int& iAccessTime, int& iFileLen)
{
struct _stat tmpInfo;
if (_stat(strPath.c_str(), &tmpInfo) != 0)
{
return FALSE;
}
iCreateTime = static_cast<int>(tmpInfo.st_ctime);
iModifyTime = static_cast<int>(tmpInfo.st_mtime);
iAccessTime = static_cast<int>(tmpInfo.st_atime);
iFileLen = static_cast<int>(tmpInfo.st_size);
return TRUE;
}