Solved

File not found

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Software doesn't automaticly start up 5 65
Free software for pdf to word conversion 4 44
ios - android compatible database app 3 81
How to open a .vcf file 11 51
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…
Healthcare organizations in the United States must adhere to the guidance of both the HIPAA (Health Insurance Portability and Accountability Act) and HITECH (Health Information Technology for Economic and Clinical Health Act) for securing and protec…
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.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

911 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

20 Experts available now in Live!

Get 1:1 Help Now