Support Windows XP

Imperatorn johan_forsberg_86 at hotmail.com
Mon May 3 13:10:45 UTC 2021


On Monday, 3 May 2021 at 09:53:42 UTC, Dukc wrote:
> On Sunday, 2 May 2021 at 18:15:04 UTC, Imperatorn wrote:
>> I modified the PE header (set major version and subsystem to 
>> 5) and it worked 🌞
>>
>> No idea how much ub this causes tho.
>
> Care to explain this in beginner-friendly way? I think it's 
> likely it will help other people with same kinds of problems.
>
> DMD for Windows should work just as well in XP as in later 
> versions, as far as I know. I don't think it depends on any 
> functionality introduced after XP.

Sure, you can use any PE editor or even a hex editor.

I used https://petoolse.github.io/petools/

Open dmd.exe and edit major version and subsystem version (change 
from 6 to 5).

https://ibb.co/0hpFmd9

Done :)


More information about the Digitalmars-d mailing list