Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem in Project1.dpr...urgent help required

Status
Not open for further replies.

mjsof84

Programmer
Mar 23, 2003
22
GB
hi

in a rather silly move, while attempting to fully remove a Form from my project, i started editing the project1.dpr file. however, now, it refuses to compile giving the error:

[Fatal Error] Project1.dpr(5): File not found: 'Form.dcu'

The full source code is this:

program Project1;

uses
Form,
Unit1 in 'Unit1.pas' {CentralForm};

{$R *.res}

begin
Application.Initialize;
Application.CreateForm(TCentralForm, CentralForm);
Application.Run;
end.


any help INCREDIBLY appreciated.
 
change the word form to forms and everything will be fine....

--------------------------------------
What You See Is What You Get
 
lol.....seriously lol.

well, er, yes. thanks anyway :)
 
ummmm, he is serious. it should be:

Uses
Forms,
Unit1 in 'Unit1.pas' {CentralForm};



Leslie
 
yeah, i know, and the prob is now fixed.

i was laughing at my original error.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top