home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BUG 4
/
BUGCD1997_05.BIN
/
aplic
/
clip4win
/
clip4win.exe
/
C4W30E.HUF
/
BLINKER
/
SAMPLE.LNK
Wrap
Text File
|
1995-06-30
|
3KB
|
80 lines
# sample.lnk - sample link file for Clip-4-Win & Blinker 3
#
# Written by: John Skelton and Doug Rist.
#
# To translate a Microsoft LINK command:
# link /se:600 <1>, <2>, <3>, <4>, <5>
# where the <n> are:
# <1>: object file (OBJ) list, using space or '+' as separators
# <2>: output file (EXE/DLL) name
# <3>: map file name
# <4>: list of library (LIB) files, separated by space or '+'
# <5>: definition file (DEF)
# to Blinker 3, proceed as shown below.
#
# NOTE: Put all LIBRARY xxx statements, except the ones for CLIPPER,
# before the one for clip4win. RDD's should be before clip4win.
#
# For example, the LINK command:
# link /se:600 main+func1+func2,myapp,mymap,myrdd+clip4win+clipper,mydef
# translates to:
# BLINKER INCREMENTAL OFF
# FILE main,func1,func2
# OUTPUT myapp.exe
# MAP=mymap S
# LIBRARY myrdd
# LIBRARY WBrowseT # I don't think SEARCH is needed
# LIBRARY C4WClass # I don't think SEARCH is needed
# LIBRARY TopClass # I don't think SEARCH is needed
# LIBRARY Clip4Win # I don't think SEARCH is needed
# LIBRARY CLIPPER, EXTEND, DBFNTX, TERMINAL # I think these link last by default
# DEFFILE mydef # or use DEFBEGIN ... DEFEND, see below
#
# NOTE: The presence of DEFFILE (or DEFBEGIN ... DEFEND) makes Blinker
# produce a Windows EXE. You don't need to do any overlaying,
# as Windows will manage memory automatically.
BLINKER INCREMENTAL OFF
# OBJ file list : <1> replace '+' or ' ' with ','
FILE <YourFile1>
...
FILE <YourFileN>
# Output file (exe) name: <2> (optional, default is first Obj named in FILE
OUTPUT <YourEXE>
# Map file name & type (S emulates the Map file created by MSLink/OptLink.
# For a NUL value, remove the next executable line. : <3>
MAP S
# Library (lib) file listing: <4> replace '+' or ' ' with ','
# all other libraries should be allocated unless manufacturer
# specifically states otherwise.
LIBRARY WBrowseT # I don't think SEARCH is needed
LIBRARY C4WClass # I don't think SEARCH is needed
LIBRARY TopClass # I don't think SEARCH is needed
LIBRARY Clip4Win # I don't think SEARCH is needed
# The following section was created by Importing a Def file between a
# DEFBEGIN ... DEFEND, and could have been done with the DEFFILE <5>
# An excellent explanation of the commands used in a DEF file are
# supplied in the Blinker 3.0 Norton Guide (NG) files, under:
# Windows Exe's \\ Def file commands
#
DEFBEGIN
name <AppName> #Up to 8 chars only!!! Don't use quotes ('' or "").
description 'Description of Program'
exetype windows 3.1
stub 'c:\clip4win\bin\c4wstub.exe' # or wherever the stub is
code preload moveable discardable
data preload moveable
stacksize 8000
heapsize 2000
exports __WndProc @1
DialogWndProc @2
DEFEND