?
Solved

File not found

Posted on 2012-03-26
1
Medium Priority
?
285 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
[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
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

Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

Question has a verified solution.

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

In our personal lives, we have well-designed consumer apps to delight us and make even the most complex transactions simple. Many enterprise applications, however, are a bit behind the times. For an enterprise app to be successful in today's tech wo…
In this article, you will read about the trends across the human resources departments for the upcoming year. Some of them include improving employee experience, adopting new technologies, using HR software to its full extent, and integrating artifi…
Viewers will learn how to use the Hootsuite Dashboard.
The viewer will learn how to successfully download and install the SARDU utility on Windows 8, without downloading adware.

771 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