Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2004.08.15;
Скачать: CL | DM;

Вниз

Как создать TCPServer в Runtime?   Найти похожие ветки 

 
anton.   (2004-06-17 10:11) [0]

var
 TCPServer: TIdTCPServer;
 TCPClient: TIdTCPClient;

implementation

procedure TCPServerExecute(AThread: TIdPeerThread);
begin
 TIdPeerThread(TCPServer.Threads.LockList.Items[0]).Connection.WriteLn("k");
end;

initialization
 TCPServer:=TidTCPServer.Create(nil);
 TCPServer.DefaultPort:=1209;
 TCPServer.OnExecute:=TCPServerExecute; << error
 TCPServer.Active:=true;


 
Reindeer Moss Eater ©   (2004-06-17 10:13) [1]

OnExecute : procedure(AThread: TIdPeerThread) of object;


 
anton.   (2004-06-17 10:21) [2]

пока не понял

ошибка
Incompatible types: "method pointer and regular procedure"


 
Reindeer Moss Eater ©   (2004-06-17 10:35) [3]

понимай пока


 
Anatoly Podgoretsky ©   (2004-06-17 11:06) [4]

anton.   (17.06.04 10:21) [2]
Словарь поможет, всего 5 простых слов.



Страницы: 1 вся ветка

Текущий архив: 2004.08.15;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.056 c
1-1091081401
ksa2002
2004-07-29 10:10
2004.08.15
combobox в Stringgride


3-1090310952
Geoji
2004-07-20 12:09
2004.08.15
Дата


14-1090925172
Vovchik_A
2004-07-27 14:46
2004.08.15
Кстати, об отдыхе...


1-1091051591
mouse_web
2004-07-29 01:53
2004.08.15
Убрать иконку из заголовка окна


14-1091217398
NNM
2004-07-30 23:56
2004.08.15
Старое доброе мужество