Autor Beitrag
mexx
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 1183



BeitragVerfasst: Mi 18.01.06 11:59 
Hallo,

ich habe mich verspeichert und nun habe ich mein Projekt zerschossen. Ich habe nachwie vor die Unit mit der Source und die Maske mit den Komponenten. Anbei der Projekt-Code. Als Hauptformular ist auch Form1 eingestellt. Jedoch wird bei Starten des Projektes eine leere Form geöffnet. Wo kommt die her und warum öffnet sich nicht meine eigentliche Form?

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
program TakeIP;

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

{$R *.res}

begin
  Application.Initialize;
  Application.CreateForm(TForm, Form1);
  Application.Run;
end.
Born-to-Frag
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1094

Win XP SP2, Win 2000 SP4
Delphi 7, 2k5
BeitragVerfasst: Mi 18.01.06 12:06 
Warscheinlich liegt deine Unit nicht im Verzeichnis in der das Projekt liegt..

Dann musst du das Verzeichnis neu einstellen (Unit1 in ....)

_________________
Theorie ist wenn man alles weiß, aber nichts funktioniert. Praxis ist wenn alles funktioniert, aber niemand weiß warum.
Microsoft vereint Theorie und Praxis: Nichts funktioniert und niemand weiß warum.
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 480

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Mi 18.01.06 12:07 
Titel: Re: Hab mir was im Projekt zerschossen...
Probier mal so:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
program TakeIP;

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

{$R *.res}

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

_________________
We are, we were and will not be.
mexx Threadstarter
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 1183



BeitragVerfasst: Mi 18.01.06 12:09 
Wie kann denn das passieren? Habe vor Deinem Post den Namen der Form geändert und dann ging es wieder. Wie konnte ich das nur übershen. THX