求教:pb如何用api获取文件修改日期
我找到这样一个api函数Function long GetFileTime(long hFile, string lpCreationTime,datetime lpLastAccessTime, datetime lpLastWriteTime) Library "kernel32.dll"
我的调用方法::(但调用后并不会获得。)
long hfile
datetime create_time,accesstime,writetime
hfile=fileopen(gs_workdir+"\stat_sa.exe")//gs_workdir是文件所在目录。
hfile=GetFileTime(hfile,create_time,accesstime,writetime)
fileclose(hfile)
请问哪里出现问题?再现等待.