• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 463
  • Last Modified:

Fatal Error Question

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
JohnMoshis
Asked:
JohnMoshis
  • 2
1 Solution
 
TOndrejCommented:
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
 
JohnMoshisAuthor Commented:
Thanks TOndrei. You hit the nail on the head. I was naive enough to think that Removing from Project actually did just that.
0
 
TOndrejCommented:
Glad to help you :-)
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now