Вниз
Скачать: 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 вся ветка

Скачать: CL | DM;



Память: 0.44 MB
Время: 0.036 c
3-1090406510
Fynjy1984
2004-07-21 14:41
2004.08.15
Редактируемый запрос в ADOQuery


14-1090521866
juiceman
2004-07-22 22:44
2004.08.15
Какие вы знаете ядра Windows ?


6-1086983867
VLoB
2004-06-11 23:57
2004.08.15
Indy (idTCPServer / idTCPClient)


14-1091188408
Tuzemec
2004-07-30 15:53
2004.08.15
ищу TASM 5.0 или страрше


14-1091007716
Дима
2004-07-28 13:41
2004.08.15
Книги по Delphi 7




   Наверх