BOOL GetThreadTimes(
HANDLE hThread, // handle to thread
LPFILETIME lpCreationTime, // thread creation time
LPFILETIME lpExitTime, // thread exit time
LPFILETIME lpKernelTime, // thread kernel-mode time
LPFILETIME lpUserTime // thread user-mode time
);
HANDLE hThread, // handle to thread
LPFILETIME lpCreationTime, // thread creation time
LPFILETIME lpExitTime, // thread exit time
LPFILETIME lpKernelTime, // thread kernel-mode time
LPFILETIME lpUserTime // thread user-mode time
);
解决方案 »
- 有关完成端口客户端断开的问题
- 82年得程序员来报个到!
- 如何让fastreport支持自定义纸张(打印机不支持自定义)
- 如何读取二进制文件?有Foxpro源程序,怎么翻译成Delphi的啊。。。。。。
- DBGridEh里如何设置多列标头,既多个字段,除各自的字段名称外,还要共同显示一个标题或名称?
- delphi+dbexpress+mysql 提示:"unable load libmysql.dll" 是何原因??
- 光盘丢失:寻求<<Delphi 6企业级解决方案及应用剖析>>之人力资源管理系统及应用剖析的源代码!
- 中国软件业的程序员认为比较黑的公司清单 欢迎加入
- 如何用DELPHI编邮件监控
- 在delphi5中如何用getcomputername()得到本地计算机名,请给源码
- u2m来领分了
- 高手给我推荐些别的优秀的delphi论坛吧!我只认识这个
ct,et,kt,ut:_filetime;
systime:_systemtime;
begin
GetThreadTimes(new.Handle,ct,et,kt,ut);
filetimetosystemtime(ct,systime);
Memo1.Lines.Add('create '+format('%2d-%2d-%2d %2d:%2d:%2d',[systime.wyear,systime.wmonth,systime.wday,systime.whour,systime.wminute,systime.wsecond]));注:systime得到的是格林威治时间