Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi Formular kann nicht geladen werden (https://www.delphipraxis.net/95087-formular-kann-nicht-geladen-werden.html)

Njorl 30. Jun 2007 15:55


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!

mkinzler 30. Jun 2007 15:56

Re: Formular kann nicht geladen werden
 
Zeig mal etwas Code

Njorl 30. Jun 2007 16:04

Re: Formular kann nicht geladen werden
 
Das einzige was ich noch geladen kriege sind

Delphi-Quellcode:
program App;

uses
  Forms,
  Form in 'Form.pas' {Form1};

{$R *.res}

begin
  Application.Initialize;
  Application.CreateForm(TForm1, Form1);
  Application.Run;
end.
und

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.

mkinzler 30. Jun 2007 16:28

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.

Njorl 30. Jun 2007 17:18

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:33 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz