Hey PascalDragon,
In the
example I provided, my code is the logic equivalentl to yours.
There are the obvious differences:
I opted for a GUI and you opted for a CLI and the rest of the differences is to adapt to the necessary units for each case.
The only other diff is that I used the Resource section on the Project Options(CTRL+SHIFT+F11) and in your case one needs to manually compile the linkable objects from the
*.rc files.
You then mention the necessary binaries to do so:
windres,
GoRC or
fpcres.
I then had a look into my
fpc/bin/x86_64-linux folder on all 3 of my installs: trunk(49634), stable(r49371) and even 3.2.0 and all tree have
fpcres.
So my question is: In the background, on my Ubuntu 21.04 64b, fpcupdeluxe installed Lazarus, what is it using to compile the resources that I added on the Project Options', Resources section?
I now ask this cuz, if you read my previous post with the example, I mention that I'm ignorant of the process that occurs in the background, performed by Lazarus and I'm now curious.
Cheer,
Gus