[Lazarus] Resources without RC files

Ondrej Pokorny lazarus at kluug.net
Thu May 4 08:21:23 CEST 2023


I see that the LCL includes LFM files as resources directly without a 
*.RC file:

{$R *.lfm}


But if I do this with my custom file. E.g.:

{$R *.sql}

I get an "error when compiling resources":

Compile Project, Mode: Debug, Target: Test.exe: Exit code 1, Errors: 1, 
Warnings: 1
Warning: windres: can't open file `REPLACE': No such file or directory
uTest.pas(96,0) Error: Error while compiling resources -> Compile with 
-vd for more details. Check for duplicates.


How is it possible that the LFM files are included directly but *.SQL 
files are parsed as RC files?


I checked the Wiki and Docs, but didn't find any information about it:



More information about the lazarus mailing list