Вниз
Скачать: 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.45 MB
Время: 0.029 c
3-1090171557
buka
2004-07-18 21:25
2004.08.15
Помогите мастера! Надо найти следующую запись в Table


1-1091504016
Eagle8
2004-08-03 07:33
2004.08.15
Icon


1-1091044443
CrMhs
2004-07-28 23:54
2004.08.15
Как удалить из файла запись


3-1090399338
Lefan
2004-07-21 12:42
2004.08.15
Как получить список БД из BDE?


1-1091221698
Ivanov
2004-07-31 01:08
2004.08.15
Как сделать"вкладку"




   Наверх