Module Definition File: Difference between revisions
Appearance
Created page with "{|class="wikitable" |+Directives |- !CODE |Assigns characteristics to code segments |- !DATA |Assigns characteristics to data segments |- !DESCRIPTION |Embeds text in executab..." |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
The '''module definition file''' (.DEF) contains the attributes that can be included in the executable file. | |||
{|class="wikitable" | {|class="wikitable" | ||
|+Directives | |+Directives | ||
Line 47: | Line 49: | ||
|Embeds MS-DOS-compatible program in new executable file | |Embeds MS-DOS-compatible program in new executable file | ||
|} | |} | ||
[[Category:File formats]] |
Latest revision as of 23:39, 20 November 2023
The module definition file (.DEF) contains the attributes that can be included in the executable file.
CODE | Assigns characteristics to code segments |
---|---|
DATA | Assigns characteristics to data segments |
DESCRIPTION | Embeds text in executable file |
EXETYPE | Specifies host operating system |
EXPORTS | Names functions exported for dynamic linking by other programs |
HEAPSIZE | Specifies initial size of local heap (C programs only) |
IMPORTS | Names functions that will be dynamically linked at load time |
LIBRARY | Builds dynlink library or device driver |
NAME | Builds application program |
OLD | Specifies ordinal compatibility with previous version of dynlink library |
PROTMODE | Flags file as executable in protected mode only |
REALMODE | Allows file to be executed in real mode |
SEGMENTS | Assigns characteristics to selected segments |
STACKSIZE | Specifies size of stack used by primary thread |
STUB | Embeds MS-DOS-compatible program in new executable file |