From: "Vincent Snijders" <vsnijd...@vodafonevast.nl>
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.
.rc files are searched relative to the current unit path. .res files
are placed into units output folder specified by -FU switch. After
that you can distribute compiled units with compiled .res files
without sources.
Yury.
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel