[fpc-pascal] fcl-res: using resource embedded in exe
jonas.maebe at elis.ugent.be
Sun May 26 19:26:58 CEST 2013
On 25 May 2013, at 14:25, Reinier Olislagers wrote:
> In the code above, I'm loading the resource from the executable.
> However, Paramstr(0) is not reliable on all platforms.
It's worse: on Unix platforms, even if you know the full path it's unsafe because the binary may have been unlinked since the program was started.
> Is there a better way of doing this?
I don't know.
More information about the fpc-pascal