[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Compiling and Linking
o Compiling
There are no special compiling instructions.
There are no header files.
o Linking
You may compile in Real or Protected Mode.
Required: Place xErrSys.obj after your main file statement.
Required: Place ClipX.lib before Clipper.lib in your link script.
o Examples
Compile and Link using Blinker REAL mode
This assumes that Clipper and Blinker are in your path
Compile - Test.bat
clipper Test /n /m /w
if errorlevel 1 goto End
blinker @Test
:End
Link script - Test.lnk
OUTPUT Test
file Test
file your path ...\obj\xErrSys.obj
lib your path ...\lib\clipx.lib
lib your path ...\clipper5\lib\clipper
lib your path ...\clipper5\lib\extend
lib your path ...\clipper5\lib\terminal
# Your rdd
lib your path ...\clipper5\lib\dbfntx
Compile and Link using Blinker PROTECTED mode
This assumes that Clipper and Blinker are in your path
Compile - Test.bat
clipper Test /n /m /w
if errorlevel 1 goto End
blinker @Test
:End
Link script - Test.lnk
#
# This program is linked in Blinker's PROTECTED MODE
#
#readonly
blinker message wink
blinker executable extended
blinker executable clipper f:61;swappath:".\tempfile";temppath:".\tempfile"
blinker incremental off
blinker overlay fixed
blinker overlay pageframe on
blinker overlay umb on
blinker overlay opsize 40
output test
file Test
file your path ...\obj\xErrSys
search your path ...\clipper5\lib\blxclp52 # For Blinker DOS protected mode
lib your path ...\lib\clipx.lib
lib your path ...\clipper5\lib\clipper
lib your path ...\clipper5\lib\extend
lib your path ...\clipper5\lib\terminal
lib your path ...\clipper5\lib\dbfntx # your rdd
Online resources provided by: http://www.ClipX.Net --- NG 2 HTML conversion by Dave Pearson