option-pe.md

April 16, 2025 ยท View on GitHub

Asmc Macro Assembler Reference

option -pe

Option -pe will make Asmc create a binary in Windows PE format.

Extended options

OptionGlobal
-pec__CUI__Subsystem Console (default)
-peg__GUI__Subsystem Windows
-ped__DLL__Builds a DLL

You can use the comment pragma to specify some linker options.

Valid options are /BASE, /ENTRY, /FIXED, /LARGEADDRESSAWARE, /MANIFESTDEPENDENCY, /SUBSYSTEM, and /DLL.

See Also

Asmc Command-Line Reference | OPTION DLLIMPORT