
07.02.2014, 02:06
|
Прохожий
|
|
Регистрация: 04.02.2014
Сообщения: 21
Версия Delphi: Delphi XE5
Репутация: 10
|
|
Цитата:
Сообщение от poli-smen
В новых нужно делать примерно так:
Код:
AResponseInfo.ServeFile(AContext, 'C:\Site\index.htm');
|
Ругается на
Цитата:
[dcc32 Error] Unit1.pas(24): E2003 Undeclared identifier: 'TIdContext'
[dcc32 Error] Unit1.pas(124): E2005 'TIdContext' is not a type identifier
|
То, что у меня в блоке type:
Код:
procedure IdHTTPServer1CommandGet(AContext: TIdContext;
ARequestInfo: TIdHTTPRequestInfo; AResponseInfo: TIdHTTPResponseInfo);
|