![]() |
Re: inherited Free; <-- warum kommt da eine exeption?!
Zitat:
@yankee: Das liegt sicher nicht an der Modifikation. Schau nochmal genau deine uses-Klauseln durch. |
Re: inherited Free; <-- warum kommt da eine exeption?!
Zitat:
Ich check' das einfach nicht... |
Re: inherited Free; <-- warum kommt da eine exeption?!
Hallo,
das Problem hatte ich auch ab und zu. Meistens hilft dann ein komplettes Erstellen des Programms (nicht nur ein Compilieren des Geänderten). Manchmal muss man auch einfach die Unit verändern (z. B. ein Zeichen einfügen, das Zeichen wieder löschen und dann speichern). Danach klappt's dann wieder. Ist wohl ein Bug im Compiler. Gruß xaromz |
Re: inherited Free; <-- warum kommt da eine exeption?!
Zitat:
mfg, mh166 |
Re: inherited Free; <-- warum kommt da eine exeption?!
Zitat:
Oder hat es was mit leiden zu tun? :lol: |
Re: inherited Free; <-- warum kommt da eine exeption?!
Zitat:
|
Re: inherited Free; <-- warum kommt da eine exeption?!
Hallo,
Zitat:
Übrigens steht in der System.pas:
Delphi-Quellcode:
Ist also wohl doch in TObject definiert.
procedure TObject.Free;
begin if Self <> nil then Destroy; end; Gruß xaromz |
Re: inherited Free; <-- warum kommt da eine exeption?!
Zitat:
|
Re: inherited Free; <-- warum kommt da eine exeption?!
Du hast wohl TObject.Free nur überdeckt (was fatale Auswirkungen haben kann) und nicht überschrieben. Letzteres ist wie gesagt nicht möglich und wird mit einem Compilerfehler quittiert.
|
Re: inherited Free; <-- warum kommt da eine exeption?!
Naja, nun weiß ichs und gelobe Besserung. :angel2: :lol:
mfg, mh166 |
Alle Zeitangaben in WEZ +1. Es ist jetzt 02:14 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 by Thomas Breitkreuz