<div dir="ltr"><div class="gmail_quote">On Wed, Jul 21, 2010 at 8:37 AM, Mattias Gaertner <span dir="ltr"><<a href="mailto:nc-gaertnma@netcologne.de">nc-gaertnma@netcologne.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On Tue, 20 Jul 2010 19:57:39 +0200<br>
Zaher Dirkey <<a href="mailto:parmaja@gmail.com">parmaja@gmail.com</a>> wrote:<br>
<br>
> uses<br>
><br>
> > myunit in '..\lib\myunit.pas',<br>
> ><br>
> > it is no need to change it even in the search path.<br>
> ><br>
> ><br>
> I meant my project have folders like<br>
> /proj/bin<br>
> /proj/src<br>
> /proj/lib<br>
> i can move the dir /proj or my component package to any dir without need a<br>
> changes.<br>
<br>
</div>So it is with search paths. They don't need to change when you move<br>
your /proj.<br>
I don't see your point.<br>
<div class="im"><br></div></blockquote><div> </div>If i have project use some source of components,not use *.o files,<br>My proj1 use component lib1.pas but lib1.pas need unit unit1.pas in sub dir (/mylib/src/sqlite/unit1.pas) of same dir of lib1.pas<br>
<br>/proj1/bin<br>/proj1/src<br>/proj1/lib<br>/proj1/addons<br><br>/mylib/src<br>/mylib/src/sqlite/<br>/mylib/src/firebird/<br><br>in fact i must add all in search path, while if i put in /mylib/src/lib1.pas in uses <br>uses<br>
sqlite in './sqlite/sqlite.pas';<br><br>now i can move copy to friends, make it from another platform (linux/windows) and send the examples without worry about the paths, may be i need to change one path<br><br>
May be the point got when i build site using PHP :)<br><br><br>Thanks<br><br></div>-- <br>Zaher Dirkey<br>
</div>