Главная страница
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.034 c
1-1091124874
GuAV
2004-07-29 22:14
2004.08.15
MenuItem.ShortCut


4-1089152452
Kronos
2004-07-07 02:20
2004.08.15
Как заблокировать реакцию WindowsXP на нажатие горячих клавиш?


1-1091088781
AlexXn
2004-07-29 12:13
2004.08.15
Добавление элемента в отсортированный массив


14-1091015553
Nikolay M.
2004-07-28 15:52
2004.08.15
Задачка


1-1091092755
default
2004-07-29 13:19
2004.08.15
Динамические массивы