
30.06.2007, 08:03
|
|
Участник форума
Регистрация: 09.12.2006
Сообщений: 135
Провел на форуме: 426226
Репутация:
726
|
|
Сообщение от 4e4en
Why this isn't working?
Код:
var
msg:shortstring='http://forum.antichat.ru/antichat/pic/logo.gif';
function ThreadCall(p:pointer):dword;stdcall; //API call stdcall
begin
GetInetPageSRCasThread(string(p));
end;
begin
hT := CreateThread(nil,0, @ThreadCall, @msg, 0, ThID);
while(WAIT_OBJECT_0<>WaitForSingleObject(hT,100)) do
application.ProcessMessages;
|
|
|