sleep(10000)
里面单位是毫秒
里面单位是毫秒
解决方案 »
- FTP客户端上传的失败开发过程
- 如何自定义一个string类型属性,可以下拉列表选择呢?
- 如何得到Mdi子窗体列表
- 路过的朋友帮看看..Oracle下adodataset控件中parameters属性的日期时间怎么表示..
- 各位大侠,(懂delphi+好心的人请进!)帮忙解决一个问题,小弟愿出一定的现金作为酬劳费.在线等。
- 菜鸟问题:怎样在Delphi中编译EXE?
- delphi+activex+数据库
- 晕倒!!!有一问题要请教,急!!!
- 如何得到中文语音合成引擎mstts有e文的可是没有中文的
- 如何用query执行存储过程并获得其输出变量
- 刚刚来的,提个问题,哪里有web app debugger创建web app的详细例子.
- 请问各位,我编了几个过程,.......
var tmpd:tdatetime; //hVar: HWND;
begin
with wjyx_for do
begin
tmpd:=now();
repeat
application.ProcessMessages ;
until (now()>tmpd+10*(1/24/60/60));
end;
end;
var t1,t2:integer;
begin
t1:=GetTickCount;
t2:=t1;
while t2-t1<ATime do
t2:=GetTickCount;
end;
t:integer;
begin
t1:=GetTickCount;
repeat
application.processmessage;
until GetTickCount-t>10000;
end;