Solved

File not found

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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

A high-level exploration of how our ever-increasing access to information has changed the way we do our jobs.
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…
The viewer will learn how to set up a document for the web and print and the recommended PPI for printing.
XMind Plus helps organize all details/aspects of any project from large to small in an orderly and concise manner. If you are working on a complex project, use this micro tutorial to show you how to make a basic flow chart. The software is free when…

733 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