Since DMD 2.089.0 and later, compiled .exe showing SFX zip and opening with winRar when use resource.

user1234 user1234 at 12.de
Tue Aug 18 22:26:24 UTC 2020


On Tuesday, 18 August 2020 at 19:01:17 UTC, Marcone wrote:
> When I compile the source .d code to .exe adding an icon using 
> resource .res file in dmd 2.089.0 and later, the .exe file show 
> SFX zip in it is properties and open with winRar. This ir 
> normal or is a Bug? See images below.
>
> Se image in this links:
>
> SFX zip in it is properties: https://i.imgur.com/dH7jl5n.png
> Opening with winRar: https://i.imgur.com/s7C9mZn.png

Try to extract the PE header and paste it here. It's possible 
that something interfer with SFX header... can be also winrar 
that interpret wrongly the header. You should be able to see 
quickly any problem with the help of this table 
http://faydoc.tripod.com/structures/15/1594.htm


More information about the Digitalmars-d-learn mailing list