Re: [fpc-devel] Error seeking resources when copiling with {$R *.res}

2016-11-05 Thread C Western
Is {$R *.res} handled differently to {$R *.lfm}? (My projects have lots of {$R *.lfm} On 05/11/16 11:31, Thaddy de Koning wrote: On Fri, 4 Nov 2016 11:46:24 +0200 (EEST) {$R *.res} in ONLY allowed for the project file. You should never try to link in a * resource in a unit, because the *

Re: [fpc-devel] Error seeking resources when copiling with {$R *.res}

2016-11-05 Thread Thaddy de Koning
On Fri, 4 Nov 2016 11:46:24 +0200 (EEST) {$R *.res} in ONLY allowed for the project file. You should never try to link in a * resource in a unit, because the * resolves to the main project name. Same as in Delphi. If you need a resource in a unit, resolve the full name, like {$R myunit1.res} The