Solved

File not found

Posted on 2012-03-26
1
270 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

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

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…
Skype is a P2P (Peer to Peer) instant messaging and VOIP (Voice over IP) service – as well as a whole lot more.
The viewer will learn common shortcuts with easy ways to remember them. The viewer will then learn where to find all of the keyboard shortcuts, how to create/change them, and how to speed up their workflow.
Using Adobe Premiere Pro, the viewer will learn how to set up a sequence with proper settings, importing pictures, rendering, and exporting the finished product.

708 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

16 Experts available now in Live!

Get 1:1 Help Now