ďťż

Ładny brzuch

błędy kompilacji:
undeclared identifier: ' Tidcontext'
missing operator or semicolon

i wiele innych tego typu
-----------------------------------
a na przykład jak wstawie komponent IdTCPServer na pustą forme
i napisze:
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, IdBaseComponent, IdComponent, IdCustomTCPServer, IdTCPServer; type TForm1 = class(TForm) IdTCPServer1: TIdTCPServer; procedure IdTCPServer1Execute(AContext: TIdContext); private { Private declarations } public { Public declarations } end; var Form1: TForm1; i:integer; implementation {$R *.dfm} procedure TForm1.IdTCPServer1Execute(AContext: TIdContext); begin i:=1; //żeby kompiler nie zignorował procedury end; end.
wyskakuje błąd
undeclared identifier: ' Tidcontext'

używam delphi 7 personal i indy chyba 9

może to jakaś błahostka(dopiero zaczynam) ale nie mam do kogo się z tym zwrócić

Jak pozbyć się tego błądu?



Dodaj unit IdContext

chodzi o
idcontext : tidcontext;
?
jestem zielony prosze o jaśniejszą odpowiedź :blink:

Nie. W sekcji uses dodaj IdContext czyly:
uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, IdBaseComponent, IdComponent, IdCustomTCPServer, IdTCPServer, IdContext;
Użytkownik JaCkObS edytował ten post 14 październik 2006, 14:19


ok dzęki wielkie;

  • zanotowane.pl
  • doc.pisz.pl
  • pdf.pisz.pl
  • zsf.htw.pl
  •