Set the "Search Path" in "Compile Options".

Regards,
 - Graeme -



On 05/05/06, Mariano <[EMAIL PROTECTED]> wrote:
Hi! i made an application in delphi, wich has many units in different
paths...
now, i'am trying to port it to lazarus, but, when I add the unit to the
project, the "relative" path isn't included into the "uses" clause...

for example, the original project has the following files:
.\client.dpr
.\common\UntMiscFuncs.pas
... etc

in the main uses clause, of Client.Dpr, I have:

uses
   UntMiscFuncs in 'Common\UntMiscFuncs.pas',
   ... etc..

but, when I add the unit in the lpi by the IDE, I have:
uses
   UntMiscFuncs,
   ... etc..

why lazarus doesn't do this? I have to write manually " in
'Common\UntMiscFuncs.pas'" becauses the compiler doesn't find the unit in
the root path...

Mariano
20 años
Argentina

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.5.2/329 - Release Date: 02/05/2006


_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives



--
There's no place like 127.0.0.1

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to