请问得到文件的建立时间用的是哪一个API?
解决方案 »
- Quick Report调用print方法以后打印机没有任何输出,怎么办?
- 怎样用tidtcpclient从服务器下载图像(图像在500K左右)着急用......
- 关于SQL语句
- 请问怎么通过IP地址知道机器的名字?多谢!
- 如何把WINDOWS某一文件夹里的所有文件的文件名生成一张数据表
- 我想用delphi开发一个数据库系统,要求数据库十分稳定,又没有版权的纠纷,请问应选择哪种数据库!
- 如何在Delphi中实现注册表的读写啊???
- 一个软件该不该收钱!十万火急!
- 小问题一个,如何让windows重载注册表?????????????
- delphi5.0下载网址?20分!!!!!
- 关于按钮的图片翻转的问题,请高手指教,急,急
- 有分捡,快来看啊!
HANDLE hFile, // handle to file
LPFILETIME lpCreationTime, // creation time
LPFILETIME lpLastAccessTime, // last access time
LPFILETIME lpLastWriteTime // last write time
);
你还可以设置文件的一些时间属性:
he SetFileTime function sets the date and time that a file was created, last accessed, or last modified. BOOL SetFileTime( HANDLE hFile, // identifies the file
CONST FILETIME *lpCreationTime, // time the file was created
CONST FILETIME *lpLastAccessTime, // time the file was last accessed
CONST FILETIME *lpLastWriteTime // time the file was last written
);
TSearchRec = record
Time: Integer;
Size: Integer;
Attr: Integer;
Name: TFileName;
ExcludeAttr: Integer;
FindHandle: THandle;
FindData: TWin32FindData;
end;