Jonas Maebe schreef:

On 22 May 2009, at 23:00, Dariusz Mazur wrote:

How to tell compiler where are *.res files.

You can't. As you noticed, they are always searched relative to the directory of the main source file (unless the resource file is specified using an absolute path)

And that means, it is really impossible to include a *.rc file in a unit and distrubute the *.res file as compiled resource with your compiled unit.

Can't the searching be extended to the unit directory. It would make the file C:\fpc\2.2.4\units\i386-win32\fcl-base\fclel.res really useful, now have to copy it to my program dir to be able to use deamonapp unit.

Vincent
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to