Solved

File not found

Posted on 2012-03-26
1
277 Views
Last Modified: 2012-03-26
I am using Delphi 2010. An application that up until now has compiled happily suddenly can' find files unless I add them to the project search path.

The files in question have their path already in Delphi's Tools|Options|Library - Win32 Library path and the path is present in  the project option's Search Path Inherit Values section.

So what's going on?

Example:
File not found: 'LocaleInit'

The path to this file in Delphi's Library - Win32 is '$(WORKSPACE)\project\global'
WORKSPACE is defined in Delphi's registry ..\bds\7.0\Environment Options
The path is present in the inherited section of the project's options search path.
0
Comment
Question by:Rodbach
1 Comment
 

Accepted Solution

by:
Rodbach earned 0 total points
ID: 37768030
I've found a solution to my problem.

If I change the path in the library to an absolute path without using the variable in the name then the application compiles with no problem.

What I don't understand is that if I then change it back to its original state, i.e., with the variable, then it continues to compile with no errors.

The wonders of Delphi!
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows 10 4 57
Old Medical Manager Question 2 80
Disk Wipe Utility 6 91
best free software for ripping cd's 11 126
A list of useful business intelligence software.
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
This video shows how use content aware, what it’s used for, and when to use it over other tools.
The viewer will learn how to successfully download and install the SARDU utility on Windows 8, without downloading adware.

773 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