Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Netzwerke (https://www.delphipraxis.net/14-netzwerke/)
-   -   Delphi [Indy] OnCommandGet (https://www.delphipraxis.net/74207-%5Bindy%5D-oncommandget.html)

tail 30. Jul 2006 15:15


[Indy] OnCommandGet
 
Wenn ich bei Indy bei einem TldHTTPServer OnGetCommand einen Befehl geben will, geht das nicht :(

Das steht dann so im Code (nach dem ich Doppelt in das Feld geklickt habe)


Delphi-Quellcode:
procedure TForm1.IdHTTPServer1CommandGet(AContext: [u]TIdContext[/u];
  ARequestInfo: TIdHTTPRequestInfo; AResponseInfo: TIdHTTPResponseInfo);
begin

end;
Wobei das Unterstrichene Rot unterkringelt ist ;)
Wenn ich die Maus darauf halte kommt: Nicht deklarierter Bezeichner TldContext

Wie kann ich das beheben?

jakobwenzel 30. Jul 2006 15:25

Re: [Indy] OnCommandGet
 
Unit idContext einbinden.

tail 30. Jul 2006 15:40

Re: [Indy] OnCommandGet
 
Zitat:

Zitat von jakobwenzel
Unit idContext einbinden.

Thx, funktioniert :)


Alle Zeitangaben in WEZ +1. Es ist jetzt 04:42 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz