Autor Beitrag
Jojojoxx
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 386



BeitragVerfasst: Do 20.09.07 18:15 
Hallo!

Ich habe ein mit Delphi 7 erstelltes Projekt, das Indy HTTP-Client und HTTPServer Komponenten enthält.
Unter Delphi7 wird auch alles schön kompiliert und läuft einwandfrei.
Wenn ich das Projekt aber mit Delphi 2007 öffne (welches ja Indy schon standardmäßig an Board hat), erscheinen folgende Fehler:

-Fehler beim Lesen von IdHTTP1.MaxLineAction: Eigenschaft MaxLineAction existiert nicht
--> Dasselbe erscheint dann noch für die Eigenschaften IdHTTP1.ReadTimeOut, IdHTTPServer1.CommandHandlers,IdHTTPServer1.Greeting.NumericCode und viele mehr :(
Dann kann ich ignorieren oder fortsetzen anklicken.
Woran liegt das und wie kann ich das ändern?
Danke euch!
mfg

Jojo
jakobwenzel
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1889
Erhaltene Danke: 1

XP home, ubuntu
BDS 2006 Prof
BeitragVerfasst: Do 20.09.07 18:26 
Das liegt wohl daran, dass D2007 eine andere Indy-Version verwendet. Wahrscheinlich läuft alles, wenn du auf alle Ignorieren drückst.

Vorher aber besser ne Sicherheitskopie machen!

_________________
I thought what I'd do was, I'd pretend I was one of those deaf-mutes.
Jojojoxx Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 386



BeitragVerfasst: Do 20.09.07 18:41 
Hi!

Wenn ich auf Alle Ignorieren klicke und die Anwendung kompilieren möchte, kommt folgende Fehlermeldung:
user defined image

Außerdem bricht der Compiler bei dieser Zeile ab:
ausblenden Quelltext
1:
2:
3:
    procedure IdHTTPServer1CommandGet(AThread: TIdPeerThread;
      ARequestInfo: TIdHTTPRequestInfo;
      AResponseInfo: TIdHTTPResponseInfo);

Begründung:
[DCC Fehler] Unit1.pas(176): E2003 Undefinierter Bezeichner: 'TIdPeerThread'

So nebenbei: Kann ich nicht einfach die andere Indy-Version installieren/"austauschen"?
mfg

Jojo
jakobwenzel
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1889
Erhaltene Danke: 1

XP home, ubuntu
BDS 2006 Prof
BeitragVerfasst: Do 20.09.07 18:54 
Kopier dir den Code (ohne Procedure TForm1.MachWas) dieser Methode, lösch sie (und alle Verweise drauf), leg sie neu an und füg den Code wieder ein.

_________________
I thought what I'd do was, I'd pretend I was one of those deaf-mutes.