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

novice2 sorry at noem.ail
Sun Aug 30 19:33:51 UTC 2020


Dear Marcone, that you want we all to do?
Rar detect sfx by small signature, and some bytes in exe looks 
like signature.
But this is not the problem - just do not open your exe with rar.
Or i just don't understand...

Another options:
1. try to compile with anoter .res or/and  another .ico (if magic 
bytes in .res)
2. wait next dmd version (if magic bytes in dmd runtime)
3. try gdc or ldc from https://dlang.org/download.html (if magic 
bytes in dmd runtime)
4 try to pack yor exe with free packer like https://upx.github.io/


More information about the Digitalmars-d-learn mailing list