I know, I know, ..... I should convert
I looked the last half year into FWh Codes, samples, Xbrowses, ..... and much more.
Almost none of these functionalities are inside the FW16 version.
In fact, I would almost better start a new project for it, because I know so much more now.
First, I have a hard time simply to try to compile with FWH. I have to write a link file for it, but the old 16 one has lots of prg, libs, and obj.
If I convert, I would almost be sure that all functions that uses older libs, objs, can be removed. I rather remake some functions in new FWH style.
In the FW16 version, TSbrowse6 = dominant, just like Xbrowse will become in my FWH version.
But first how should my Link file for FWH look like if would try to compile from FW16 to FWH.
Best way to go :
1. Create a complete link file for FWH
2. Try to compile and see what happens (commend out obsolete functions or remove to a oldfunction.prg)
3. I wount be error free, but finaly I need to get it free
4. convert ntx to cdx logic
5. Update to new FWH logic.
Here is my link and make file. (I have a ndmake.exe file to create the exe)
Maveco.lnk
- Code: Select all Expand view
## BLINKER EXECUTABLE NODELETE
BLINKER INCREMENTAL OFF
BLINKER CLIPPER SYMBOL ON
BLINKER EXECUTABLE CLIPPER F220
packdata
packcode
##noextdic
fi maveco
#FI functies,afdruk,ingeven,klanten,lever,artikel,statistiek,dagtaak,Users,prosp,Makefile,index,finddata,browsers
FI functies,afdruk,ingeven,klanten,lever,artikel,statistiek,dagtaak,Users,prosp,Makefile,index,finddata,browsers
fi tsmtp,tsocket,tphdial
fi errsysw
fi wbrowse,wbrwline,tget,scrllbar,TSbrowse # Ts 6 bugfix
#fi wbrowse,wbrwline,tget,scrllbar # Ts 6
#fi cm52,cmx52,cmxdbt52
fi alloc,__wait_b
FI gxrteng1.lib
FI gxrteng2.lib
#fi cmxdbt52
lib btnget,Sbrowse
LIB OLE2,super53
search five,fivec,objects
LIB barlib
LIB winapi,clipper,extend,dbfntx,terminal
#lib cmx52
lib cm52,cmx52
DEFBEGIN
name Maveco.exe
description 'Facturatie MAVECO'
exetype Windows
code preload moveable discardable
data preload moveable
stacksize 14000
heapsize 12000
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
makefile
- Code: Select all Expand view
# Compile
OBJS = maveco.obj \
afdruk.obj \
functies.obj \
ingeven.obj \
klanten.obj \
lever.obj \
artikel.obj \
statisti.obj \
dagtaak.obj \
users.obj \
errsysw.obj \
prosp.obj\
tgraph.obj\
Makefile.obj\
tsocket.obj\
tsmtp.obj\
tphdial.obj\
TSbrowse.obj\
index.obj\
finddata.obj\
browsers.obj
maveco.exe: $(OBJS) maveco.lnk makefile
@blinker @maveco.lnk
$(OBJS): $*.prg makefile
clipper $* /n/a/v/q
# clipper $* /q/n/a/v/w > clip.log
# clipper maveco.prg /w/n/m/i
# clipper $* /w/n/m/i