News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Set subsystem tool for 32 bit PE files.

Started by hutch--, May 07, 2018, 08:57:26 PM

Previous topic - Next topic

hutch--

Full source for a UI version of a simple tool that sets the subsystem for a 32 bit PE file.

No trolls, just code.

hutch--

Full source for a console version to set the subsystem of a valid 32 bit PE executable. This can be used in a batch file to build an executable file from a compiler that only builds UI type executables. It will work on any valid 32 bit PE executable.

No trolls, just code.

hutch--

For those with a sense of humour, unintended consequences made these two tools work just fine with 64 bit MASM executables as it appears that the DOS and NT header structures are much the same. I had never tested it until today and while I have not tested it on any other 64 bit PE file apart from those built with ML64, they will probably work with them as well.