Re: [fpc-devel] path for *.res file

2009-05-23 Thread Jonas Maebe
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) Jonas

Re: [fpc-devel] path for *.res file

2009-05-23 Thread Vincent Snijders
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

Re: [fpc-devel] path for *.res file

2009-05-23 Thread Jonas Maebe
On 23 May 2009, at 11:05, Vincent Snijders wrote: 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. WDDD? (What Does

Re: [fpc-devel] path for *.res file

2009-05-23 Thread Dariusz Mazur
Jonas Maebe pisze: On 23 May 2009, at 11:05, Vincent Snijders wrote: 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. WDDD?

Re: [fpc-devel] path for *.res file

2009-05-23 Thread Yury Sidorov
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

Re: [fpc-devel] path for *.res file

2009-05-23 Thread Yury Sidorov
From: Dariusz Mazur dar...@emadar.com Jonas Maebe pisze: On 23 May 2009, at 11:05, Vincent Snijders wrote: 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

[fpc-devel] path for *.res file

2009-05-22 Thread Dariusz Mazur
Hi How to tell compiler where are *.res files. I've try -Fu, -Fi, -Fo directives in fpc.cfg but always path of main source is used. -- Darek ___ fpc-devel maillist - fpc-devel@lists.freepascal.org