Hi,
Clipper code is 5.2 and uses RDD DBFCDX for access to dbf files (IDX index
suffix)
Known extensions used: inkey, grump, grumpm, funcky and postscpt (Postscript
extrasensory.com)
Steps completed:
1. compiled existing Clipper code and linked to an .exe to run on Vista and
32/64 bit machines
- used: hbmk2 ausway.prg
- executable creates CDX not IDX as per Clipper (not an issue)
- due to third party code, I needed to rewrite approx. 20
functions/routines (mainly GRUMPFISH), not sure if there is a
List of routines written by developers?
2. as above but used MS Visual Studio v9.0 C++ to compile C code to produce
a Windows executable
- used: harbour ausway.prg -kc -gc
- ausway.c has the following header, I wanted an msvc env (see below), is
this correct?
- is the script too verbose and/or is there a better way to achieve the
desired result?
- response from extrasensory.com re: Harbour compatibility
Do you use the ps_J functions? (YES) If you don't use the
justification engine,
I could easily port it or likely just compile the code in Harbour,
if it uses the justify engine, it's out of my league to port.
/*
* Harbour 2.0.0 (Rev. 13372)
* MinGW GNU C 4.4.1 (32-bit)
* Generated C source from "AUSWAY.PRG"
*/
Batch file:
SET HB_ARCHITECTURE=WIN
SET MSCV=C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO 9.0\VC
SET PLATFORM=C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO 2008
SET HB_COMPILER=MSVC
SET HB_PATH=C:\HB20
SET HB_BIN_COMPILE=C:\HB20\BIN
SET HB_BIN_INSTALL=C:\HB20\BIN
SET HB_LIB_INSTALL=C:\HB20\LIB
SET HB_INC_INSTALL=C:\HB20\INCLUDE
SET INCLUDE=C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO
9.0\VC\CE\INCLUDE;C:\HB20\INCLUDE
SET LIB=C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO
9.0\VC\CE\LIB\;C:\HB20\LIB\WIN\MSVC;
C:\PROGRAM FILES\MICROSOFT SDKS\WINDOWS\V6.0A\LIB
CALL "C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO 9.0\VC\BIN\VCVARS32.BAT"
hbmk2 ausway.c
I look fwd to your response at your convienence.
Regards
Martin Bartlett (Melbourne Australia)
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour