[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Linking 16 bit Windows programs
------------------------------------------------------------------------------
The first step is to set up the Blinker link script file and optional module
definition file, including the RC module definition command to replace the
final resource compiler pass. Please refer to Chapter 2 `Quick Start', and
in particular the section for the compiler you are using, for an example
link script and module definition file.
If required, set up a shortcut or icon for Blinker with a command line
indicating the name and path of the link script file.
Compile the source code for Windows, as directed in your compiler manual.
Run the resource compiler to create any resources required, as directed in
your compiler manual.
Run Blinker with the link script file created above, either using the
shortcut or icon or from the DOS command line, to create the .EXE file and
attach any resources to the end of the .EXE file.
A 16 bit Windows module definition file will typically resemble the
following:
; TEST.DEF
NAME TEST
DESCRIPTION 'Small 16 bit Windows program'
EXETYPE WINDOWS 3.1
CODE MOVEABLE DISCARDABLE
DATA PRELOAD MOVEABLE MULTIPLE
RC TEST
HEAPSIZE 1024
STACKSIZE 8192
EXPORTS ....
Online resources provided by: http://www.ClipX.Net --- NG 2 HTML conversion by Dave Pearson