How load icon from resource using LoadImage?

ShadoLight ettienne.gilbert at gmail.com
Mon Jan 6 12:53:55 UTC 2020


On Sunday, 5 January 2020 at 13:52:27 UTC, JN wrote:
> On Sunday, 5 January 2020 at 13:33:35 UTC, Marcone wrote:

[snip]
>
> By the way, have you managed to add the res file into the 
> binary? My understanding is that the res file should be added 
> into the exe file by the rc command before it can be used.

Sort of correct... but not strictly correct. Typically the 
resource compiler (such as Microsoft's rc.exe) compiles 
xyzfile.rc into xyzfile.res.

xyzfile.res is then added into the exe by the linker during 
linking.



More information about the Digitalmars-d-learn mailing list