Solved

Fatal Error Question

Posted on 2001-09-14
3
446 Views
Last Modified: 2010-04-04
I am restoring Delphi 4 after a hard disk crash. When I compile some projects I get the error "File Not Found UCrpe32.dcu". This file comes from Crystal Reports which is not used in any of my projects (I removed it years ago). Nowhere in  any of the .pas (or any other files) is CRPE (Crystal) being used. It is not in any "Uses" statements or anywhere else yet the compile keeps looking for it. Has anyone run into anything like this?
0
Comment
Question by:JohnMoshis
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 8

Accepted Solution

by:
TOndrej earned 75 total points
ID: 6484374
It must be used in one of your units, otherwise Delphi would not attempt to look for it.
Possibly you have an old .dcu file somewhere in the search path which was compiled with this dependency. Check your library path and search path; search your hard disks and delete all unneeded .dcu files.
0
 

Author Comment

by:JohnMoshis
ID: 6484436
Thanks TOndrei. You hit the nail on the head. I was naive enough to think that Removing from Project actually did just that.
0
 
LVL 8

Expert Comment

by:TOndrej
ID: 6484438
Glad to help you :-)
0

Featured Post

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

739 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