![]() |
Formular kann nicht geladen werden
Hallo
erstmal sorry falls das hier das falsche Unterforum ist aber ich hab nicht wirklich viel Ahnung und habe halt das gewählt was mir am passendsten erschien. Ich habe neulich ein kleines Projekt geschrieben und gespeichert. Wenn ich jetzt versuche es wieder zu laden, bekomme ich die Fehlermeldung 'Formular, das sich selbst als Vorfahr-Formular hat, kann nicht geladen werden' Nachdem ich jetzt aber keine Ahnung habe was ein Vorfahr-Formular ist, also sicher nichts dergleichen (mit Absicht) einprogrammiert habe, und auch die Foren-/Google-Suche mir nicht weiter helfen konnte, dachte ich ich frage hier mal nach ob das noch irgendwie zu retten ist. Vielen Dank schon mal! |
Re: Formular kann nicht geladen werden
Zeig mal etwas Code
|
Re: Formular kann nicht geladen werden
Das einzige was ich noch geladen kriege sind
Delphi-Quellcode:
und
program App;
uses Forms, Form in 'Form.pas' {Form1}; {$R *.res} begin Application.Initialize; Application.CreateForm(TForm1, Form1); Application.Run; end.
Delphi-Quellcode:
unit Form;
interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls; type TForm1 = class(TForm) Label1: TLabel; Label2: TLabel; Label3: TLabel; Label4: TLabel; Label5: TLabel; Label6: TLabel; Label7: TLabel; Label8: TLabel; Label9: TLabel; Label10: TLabel; Label11: TLabel; Label12: TLabel; Label13: TLabel; Label14: TLabel; Label15: TLabel; Label16: TLabel; Label17: TLabel; Label18: TLabel; Label19: TLabel; Label20: TLabel; Label21: TLabel; Label22: TLabel; apptype: TRadioGroup; Raiding: TRadioButton; Social: TRadioButton; charname: TEdit; charclass: TComboBox; charrace: TComboBox; played: TEdit; spec: TEdit; armory: TEdit; choices: TButton; alts: TButton; attunements: TGroupBox; attkara: TCheckBox; attheroics: TCheckBox; attnotes: TButton; contacts: TButton; name: TEdit; age: TEdit; occupation: TEdit; availability: TEdit; hours: TButton; motivation: TButton; gearing: TButton; role: TButton; history: TButton; computer: TButton; contact: TButton; finish: TButton; armorynotes: TButton; Label23: TLabel; private { Private-Deklarationen } public { Public-Deklarationen } end; var Form1: TForm1; implementation {$R *.dfm} end. |
Re: Formular kann nicht geladen werden
Nenne die Unit anders. Denn eine Standard-Unit, in der z.B. auch TForm deklariert ist, heißt genauso.
|
Re: Formular kann nicht geladen werden
Vielen Dank, nachdem ich die Unit umbenannt habe geht alles wieder!
Jetzt hat sich leider das Problem ergeben dass beim Start (F9) eine Zugriffsverletzung bei Adresse 006B4F48 im Modul 'coreide90.bpl'. Lesen von Adresse 00000004 entsteht. Laden tut das Programm aber trotzdem deshalb ist es kein großes Problem. |
Alle Zeitangaben in WEZ +1. Es ist jetzt 02:29 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