Autor Beitrag
Iaa_1
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 61



BeitragVerfasst: Mo 14.04.08 20:22 
hi leute ich habe paar dateien von unit2.pas gelöscht jedoch habe ich nun das problem bei meinem project1:

ausblenden Quelltext
1:
[Fatal Error] Project1.dpr(9): Read error on 'Application.Initialize.dcu'					

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

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

{$R *.res}

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

hoffe ihr wisst wie ich den misst den ich gebaut habe behebe^^
(löschen und neumachen ist net gut,ist monatelange arbeit :( )

Moderiert von user profile iconNarses: Delphi-Tags hinzugefügt
Silas
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 478

Windows XP Home
Delphi 2005, RAD Studio 2007, MASM32, FASM, SharpDevelop 3.0
BeitragVerfasst: Mo 14.04.08 20:26 
N'Abend!

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

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

{$R *.res}

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

Das Komma muss ein Semikolon sein.

Wenn ich schon gerade dabei bin: Nimm in Zukunft für Code bitte die Delphi-Tags, dann ist es besser lesbar ;) .

_________________
Religionskriege sind nur Streitigkeiten darüber, wer den cooleren imaginären Freund hat ;-)
Iaa_1 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 61



BeitragVerfasst: Mo 14.04.08 20:47 
nachdem ich das behoben habe kommt dieser fehler:
ausblenden Quelltext
1:
[Error] Project1.dpr(9): Declaration expected but identifier 'Application' found					

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

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

{$R *.res}

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


Moderiert von user profile iconNarses: Delphi-Tags hinzugefügt
Marc.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1876
Erhaltene Danke: 129

Win 8.1, Xubuntu 15.10

BeitragVerfasst: Mo 14.04.08 20:51 
Merke: Zu jedem end gehört auch ein begin! :mahn:

Cheers,
Marc.
Iaa_1 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 61



BeitragVerfasst: Mo 14.04.08 20:58 
danke euch es geht nun wieder :)