Re: [Lazarus] Resources without RC files

2023-05-04 Thread Ondrej Pokorny via lazarus
On 04.05.2023 11:02, Michael Van Canneyt wrote: On Thu, 4 May 2023, Ondrej Pokorny wrote: On 04.05.2023 08:38, Michael Van Canneyt wrote: On Thu, 4 May 2023, Ondrej Pokorny via lazarus wrote: How is it possible that the LFM files are included directly but *.SQL files are parsed as RC files?

Re: [Lazarus] Resources without RC files

2023-05-04 Thread Michael Van Canneyt via lazarus
On Thu, 4 May 2023, Ondrej Pokorny wrote: On 04.05.2023 08:38, Michael Van Canneyt wrote: On Thu, 4 May 2023, Ondrej Pokorny via lazarus wrote: How is it possible that the LFM files are included directly but *.SQL files are parsed as RC files? Because the file extension is recognized ?

Re: [Lazarus] Resources without RC files

2023-05-04 Thread Ondrej Pokorny via lazarus
On 04.05.2023 08:38, Michael Van Canneyt wrote: On Thu, 4 May 2023, Ondrej Pokorny via lazarus wrote: How is it possible that the LFM files are included directly but *.SQL files are parsed as RC files? Because the file extension is recognized ? LFM is included as RC_DATA, and probably

Re: [Lazarus] Resources without RC files

2023-05-04 Thread Michael Van Canneyt via lazarus
On Thu, 4 May 2023, Ondrej Pokorny via lazarus wrote: Hello, 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:

[Lazarus] Resources without RC files

2023-05-04 Thread Ondrej Pokorny via lazarus
Hello, 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