以下代码可以在Windows98里运行,为何在2000里不行?//Timer回调函数
procedure Time1pro(hWnd:Longint;uMsg:UINT;idEvent:UINT;Time:DWORD);
begin
Sendmail.SendEMail;
end;settimer(Handle,1,1000,@Time1pro); //定义Timer
procedure Time1pro(hWnd:Longint;uMsg:UINT;idEvent:UINT;Time:DWORD);
begin
Sendmail.SendEMail;
end;settimer(Handle,1,1000,@Time1pro); //定义Timer
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货