Page 1 of 1

Conversion Clipper/FW to (x)Harbour/FW

Posted: Fri Oct 13, 2006 10:42 pm
by xhbcoder
FW,

I wish to know how much recoding would be necessary to convert a Clipper+FW24 POS application to (X)Harbour + FW24

In the link script I saw reference to the following lib which I am not familiar if directly supported by (x)Harbour + FW.

1. COMIX
2. Telepathy

Kindlly comments on how much re-coding woud be necessary.

TIA,

XHBCODER

Here's the link script:

BLINKER HOST PASSUP OFF
#BLINKER INCREMENTAL OFF
#BLINKER EXECUTABLE COMPRESS 1
BLINKER CLIPPER SYMBOL OFF

PACKCODE
PACKDATA

MAP=EXE\52\PCREGW.MAP S,A

DEFBEGIN
name PCREGW
description 'PC/Register'
exetype Windows 3.1
code preload moveable discardable
data preload moveable
stacksize 10000
heapsize 2000
segment 'PLANKTON_TEXT' nondiscardable
segment 'EXTEND_TEXT' nondiscardable
segment 'OM_TEXT' nondiscardable
segment 'OSMEM_TEXT' nondiscardable
segment 'SORTOF_TEXT' nondiscardable
segment 'STACK_TEXT' nondiscardable
DEFEND

NOBELL

FILE ADDALIAS, ADDNDX, ALTC, AREA1, AREA1_A, AREA1_B,
AREA1_C, AREA1_D, AREA1_DB, AREA2, AREA2_A, AREA2_B,
AREA2_C, AREA2_C2, AREA2_D, AREA2_E, AREA2_F, AREA2_H,
AREA3, AREA3_A, AREA3_B, AREA3_C, AREA4, AREA4_A,
AREA4_B, AREA4_C, AREA4_D, AUTHCOMM, AUTHSUP, AUTHTRAN,
BATCHADM, CL_IPC, CL_PORTB, CONCORD,
ENOUGH, FDBF, FEXPFILE,
FLIVE, FMULTI, FPAD, FPCJOUR, FRENLAR, FRENCFG, FSCALE,
FSUSPEND, FTAXRAM, FTXTVIEW, FUNIQUE, FUSEFILE, GENIO, GETPSW,
GETSERI, GO, HARDWARE, IBM4694W, IBMSUP, ICSETUP, ICVERIFY,
LUHN, MODE, OPENFILE, OPENSUSP, PCLW, PHYSICAL, PINPAD,
PLU_FUNC, PRINTCFG, REGSETUP, RFLINE, ROOT, SCANNER, SHELL, TIMER, VERSION,
JRNARCHV,LS_ALERT,LS_funcs

#Platform specific
FILE CAPFIRST, CCOMM,
CCOPYDAT, CBUTTON, CDIALOG, CGET, CHTML, CPCREG, CRECT, CSHIFT4, CSTREAM, CWINDOW,
DATASHET, ERRSYSW, HANDY,
NOCOLOR, NOTECSUP,
RAWPRINT, TELEPATH,
TGET,
XTIMER

FILE COPYDATA, COMSTAT
nodeflib

#Modified DBCMD1 from CLIPPER.LIB version 5.2e
FILE DBCMD1, DBFT

# Comix RDD
FILE cmx52, cmxFox52
LIB cmx52
@cmx.lnk

#Telepathy extraction from TPOVL52.LIB
FI TPBIN

#Clipper extraction from Clipper.Lib ver 5.3, Fivewin recommends using
FI ALLOC, MEMORY

#After adding blxclp52, Clipper Internal Error - Unrecoveralbe error 332 is now traceable
#and under windows xp - the error "ยง caused an access violation in CUI.EXE at 0x77f57aec."
#now only appears when application exits and not at startup.
FI \DEV\BLI5\OBJ\BLXCLP52

#Blinker fix for Clipper Windows applications accross 32k boundaries
FI \DEV\BLI5\OBJ\MPAR

LIB Five, FiveC, Objects, WinApi, Clipper, Extend, Terminal

RC WINDOWS\PCREG.RES
RC WINDOWS\KEYBOARD.RES

Posted: Sat Oct 14, 2006 6:49 am
by Antonio Linares
>
I wish to know how much recoding would be necessary to convert a Clipper+FW24 POS application to (X)Harbour + FW24
>

FWH is fully source code compatible with FW 16 bits, so practically no recoding is required.

>
In the link script I saw reference to the following lib which I am not familiar if directly supported by (x)Harbour + FW.

1. COMIX
2. Telepathy
>

You may use (x)Harbour built-in DBFCDX RDD instead of Comix. That will require just some changes in your app.

You do need a 32 bits version of Telepathy.

Saludos colega

Posted: Tue Dec 12, 2006 1:01 pm
by sildata
Amigo creo que tu version de Fivewin no es compatible con el XHARBOUR
sigue consultando y me avisas la solucion, pues yo tambien estoy en el mismo problema.
Rodolfo Silva
sildata@cantv.net