Solved

Fatal error: file not found somename.dcu

Posted on 2002-05-17
5
184 Views
Last Modified: 2010-04-04
When I'm compiling my project, it says "[Fatal error] Project.dpr(9): File not found: 'somename.dcu'". Where somename.dcu belongs to a form which I had removed from the project some months ago using de '-' button of the Delphi 6 Pro toolbar.

It gives this error in the Project.dpr file in a line of the uses Forms clause:

uses
  Forms,
  Principal in 'Principal.pas' {FPrincipal},
  ModulDades in 'ModulDades.pas' {FModulDades: TDataModule},
  Secundari in 'Secundari.pas' {FSecundari},
  Inicialitza in 'Inicialitza.pas' {FInicialitza},
  Serveis in 'Serveis.pas' {FServeis}; //<-error here

If I remove Serveis.pas from the project, the error is fixed, but this is not a solution.

I have done a search of any reference to this file in almost any file of the project and can't find it.

How can I erase that insidious reference? Where can it be located?
0
Comment
Question by:nasheerz
  • 2
  • 2
5 Comments
 
LVL 9

Accepted Solution

by:
ITugay earned 100 total points
Comment Utility
Hi nasheerz,

it can be located in uses clause of some unit in your project. Be carefull, uses clause may be twice in each unit: in interface and in implementation parts.

--------
Igor.
0
 
LVL 1

Expert Comment

by:JDN
Comment Utility
"If I remove Serveis.pas from the project, the error is fixed, but this is not a solution."

Why not?

Does the file Serveis.pas exists? And does your program needs this file? If not, delete the reference.

JDN

0
 

Author Comment

by:nasheerz
Comment Utility
The file serveis.pas exists, I just added it to the project. And yes, my aplication needs the file.
0
 

Author Comment

by:nasheerz
Comment Utility
Ups, u're right! Here you have your hard worked points. %)
0
 
LVL 9

Expert Comment

by:ITugay
Comment Utility
thanx :-)
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now