![]() |
E2217 Pub.-Feld '..' ist weder vom Typ class noch interface
Moin !
Ich habe hier ein Problem was sich mir nicht erschließt. Und ich bin mir auch nicht so ganz sicher ob das nicht sogar ein D2009 Bug ist ... Also ich habe da eine Unit die folgendermassen startet:
Delphi-Quellcode:
Soweit so gut. Das kann ich auch in ca. 80% alle Compiliervorgänge sauber compilieren ohne das der Compiler spuckt. Und das sowohl in der Build-Konfiguration "Debug" UND "Release".
unit TreeUtils;
interface Uses SysUtils, Windows, ComCtrls, CommCtrl, Forms, Dialogs, Classes, GlobalUtils; function AddNode_Device (TV : TTreeView) : TTreeNode; .... function Node_Exists (Node : TTreeNode): Boolean; type TLVObjectTyp = ( ID_TrashNode, ID_Device, ID_DataSet_Graphic, ID_DataSet_Channel, ID_Normal_Graphic, ID_RTF, ID_Text, ID_Seperator ); type TNodeInfo = class NodeTyp : TLVObjectTyp; NodeParent : TTreeNode; NodeExpanded : Boolean; NodeSelected : Boolean; MDIFile : String; MDIChild : TForm; MDIChildVisible : Boolean; MDIChild_X, MDIChild_Y, MDIChild_Width, MDIChild_Height : Integer; Channel : Word; end; implementation Nur ab und an meint der Compiler dann zu spinnen. Und dann kriege ich das hier: Zitat:
Also ich finde das ziemlich dubios. Wenn es jetzt ein grundlegender Fehler wäre oder aber eine Warnung des Compilers könnte ich das alles nachvollziehen, aber warum zum Henker kommt die Meldung einfach mal zwischendurch?! Kann sich da jemand einen Reim drauf machen ? |
Re: E2217 Pub.-Feld '..' ist weder vom Typ class noch interf
Zitat:
|
Re: E2217 Pub.-Feld '..' ist weder vom Typ class noch interf
Hört sich fast nach einem Bug an, aber versuch doch mal, das type in Zeile 22 zu entfernen.
Dust Signs |
Re: E2217 Pub.-Feld '..' ist weder vom Typ class noch interf
Moin !
Zitat:
Wie und wo könnte ich den einen solchen Fehler reporten? |
Re: E2217 Pub.-Feld '..' ist weder vom Typ class noch interf
Zitat:
Dust Signs |
Alle Zeitangaben in WEZ +1. Es ist jetzt 00:16 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