Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Blinker 5.10 Online Reference - <b> module definition file example</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Module definition file example
------------------------------------------------------------------------------
 A typical module definition file is as follows:

 NAME         MYPROG
 DESCRIPTION  'Myprog Version 1.00'
 EXETYPE      WINDOWS 3.1
 CODE         MOVEABLE DISCARDABLE
 DATA         PRELOAD MOVEABLE MULTIPLE
 RC           MYPROG
 HEAPSIZE     1024
 STACKSIZE    8192

 To create a .DLL instead of an .EXE, simply replace the NAME MYPROG command
 with the LIBRARY MYDLL command.

 NAME sets the program module name, usually the same name as the executable
 file, and indicates that an .EXE file is to be created.

 LIBRARY sets the program module name, usually the same name as the
 executable file, andindicates that a .DLL file is to be created.

 DESCRIPTION allows a descriptive character string to be embedded in the
 program.

 EXETYPE specifies which operating system the program will be running under.

 CODE sets the default attributes of code segments. MOVEABLE determines
 whether a segment can be moved in memory. DISCARDABLE determines whether a
 code segment can be discarded from memory to fill a different memory
 request.

 DATA sets the default attributes of data segments. PRELOAD indicates that
 the segment is loaded when the program starts. MOVEABLE is as defined above.

 MULTIPLE specifies that the default data group DGROUP is copied for each
 instance of the program.

 RC specifies the name of the resource file for the program.

 HEAPSIZE sets the local heap size for the program.

 STACKSIZE sets the stack size in bytes for the program.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson