Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Compiling Clipper PRG file and generating EXE out of it

Status
Not open for further replies.

sanjay150974

IS-IT--Management
Dec 1, 2005
1
GB
Hi,

Can anyone explain me as to how to compile a Clipper program (.PRG) in a Clipper 5.3 environment and create an EXE out of it.

I'm getting some path problems while compiling.
Your urgent response is highly appreciated plzzz.

Sanjay
 
Sample of my batchfiles to compile and link clipper programs:


@ECHO OFF
REM set path, variables etc. for clipper
set PATH=c:\dos\bin;c:\dos\clp\bin
set INCLUDE=c:\dos\clp\include
set LIB=c:\dos\clp\lib
set LINKER=EXOSPACE

.....

@ECHO OFF
REM set path, variables etc.
call SETENV.BAT

REM batchfile to compile and link clipper program
clipper %1 > %1.err
if errorlevel 1 goto ERR
%LINKER% file %1 lib DBFCDX, _DBFCDX >> %1.err
if errorlevel 1 goto ERR
goto KONEC
:ERR
readme %1.err
:KONEC


HTH
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top