Delphi-PRAXiS
Seite 2 von 2     12   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Pfad verloren. (https://www.delphipraxis.net/64672-pfad-verloren.html)

Starzyrific 7. Mär 2006 17:05

Re: Pfad verloren.
 
Ich bins wieder. Danke für eure Hilfe bis jetzt.
Ich habe jetzt eine Unit rausgelöscht und nun wird in diesem "Project2" Bereich ganz unten "Application.Run;" blau markiert.
Was ist nun das Problem?

Delphi-Quellcode:
program Project2;

uses
  Forms,
  Unit1 in 'Unit1.pas' {Form1},
  Unit2 in 'Unit2.pas' {Form2},
  Unit4 in 'Unit4.pas' {Form4};

{$R *.res}

begin
  Application.Initialize;
  Application.CreateForm(TForm2, Form2);
  Application.CreateForm(TForm4, Form4);
  Application.CreateForm(TForm1, Form1);
  Application.Run;    <-----blau
end.

ichbins 7. Mär 2006 17:12

Re: Pfad verloren.
 
Manchmal ist die Fehlerzeile auch die Zeile über der markierten.

Schau mal wo überall in deiner Unit1 ein Sound aufgerufen wird (v.a. Create) und poste den Code. Welchen mediaplayer verwendest du?

Starzyrific 7. Mär 2006 17:22

Re: Pfad verloren.
 
also mit Form.Create wird da nichts erstellt.

Delphi-Quellcode:
procedure TForm1.FormCreate(Sender: TObject);
begin

end;

end.
gar nix.

SirThornberry 7. Mär 2006 19:16

Re: Pfad verloren.
 
und hast du schon geprüft das du im Objectinspektor keinen Filename angegeben hast? Laut deiner Beschreibung (nichts steht im Create aber der Fehler tritt beim creiren auf) scheint dies der fall zu sein.


Alle Zeitangaben in WEZ +1. Es ist jetzt 05:05 Uhr.
Seite 2 von 2     12   

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