[DUG] Delphi 2007 ignores my search path

Rohit Gupta rohit at cfl.co.nz
Thu Aug 30 09:25:29 NZST 2007


Berend,

there are multiple problems in D2007.  I am not sure which one you are 
striking.

1.  The first use - it cant find the files in the uses clause as it wont 
add the .pas to them.  Once you have wiped its nose, it will remember 
the next time you start up.

2.  It relies more on the units declared in the dpr file.  For others, 
it often will not find them, even though earlier versions would.  One 
fix is to add all of these (which I do not want to do) to the project file.

3.  Many packages need to be in delphi setup and in the system path.  
Remember that the system path if too long will stop working.  And each 
version of Delphi blithely adds multiple items to it.


Berend de Boer wrote:
>     Steve> Oh, BTW: What exactly is Delphi doing? Is it when you
>     Steve> compile, it comes up with the message that "unit1.pas
>     Steve> cannot be found"? Or is it some other time?
>
> Cannot be found. .pas/.inc, nothing.
>
> Search path is completely ignored.
>   

-- 
*Rohit Gupta*
* B.E. Elec.   M.E.   Mem IEEE    Associate IEE*
*Technical Manager*
*Computer Fanatics Limited*
** 
*Tel*     +64 9 4892280
*Fax*    +64 9 4892290
*Email  *rohit at cfl.co.nz <mailto:rohit at cfl.co.nz>**
*Web    *www.cfl.co.nz <http://www.cfl.co.nz/>
 
------------------------------------------------------------------------
This email and any attachments contain information, which is 
confidential and may be subject to legal privilege and copyright. If you 
are not the intended recipient, you must not use, distribute or copy 
this email or attachments. If you have received this in error, please 
notify us immediately by return email and then delete this email and any 
attachments.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.adventureeducation.co.nz/pipermail/delphi/attachments/20070830/cd965790/attachment.html


More information about the Delphi mailing list