Author | Topic: Migrating from clipper 5e | |
---|---|---|
hERBERT ZIMBIZI | Migrating from clipper 5e on Wed, 02 Aug 2006 09:00:31 +0200 | |
mark carew | Re: Migrating from clipper 5e on Wed, 02 Aug 2006 18:56:36 +1000 Hi hERBERT. On Wed, 2 Aug 2006 09:00:31 +0200, hERBERT ZIMBIZI wrote: > I am trying to migrate a legacy application that I inherited from noone. Apparently I have had to learn the hard way with clipper 5e as I had to learn it from scratch with no help from anyone. I managed to decompile the software and now have the code. Through the changes I made I have learned so much on clipper. Now my problem is Iam trying to migrate to Xbase++. the decompiled program has UDF files and 1 rmk and 1 lnk file. To recompile it I issue the command rmake programfile. I cant seem to figure out how to the compile the same source code using xbase++. I have gone through the whole news items but noone seems to have answered the question. Can anyone assist. ------------- In Dos --------------- dir *.prg /b > project.xpj --------------- Add the following lines to the project.xpj file --------------- //// Project - Definition - File created by PBUILD Version 1.0 Date: 17/09/99 Time: 09:16:18 COMPILE_FLAGS = /b /q /p /w /wi /wl /wu /v /rxppui2.lib COMPILE_FLAGS = /b /q /p /w /v /rxppui2.lib [PROJECT] COMPILE = xpp COMPILE_FLAGS = /b /q /p /w /v /rxppui2.lib COMPILE_FLAGS = /m /v /p /b /rxppui2.lib DEBUG = YES GUI = YES LINKER = alink RC_COMPILE = arc RC_FLAGS = /v PROJECT.XPJ [PROJECT.XPJ] MYFIRST.EXE [MYFIRST.EXE] PROG1.PRG -------------------- prog1a.prg add the prg list here PROG2.PRG like this ---------------- Now you have the equivalent of a .rmk file (make file) so that you can issue a PBUILD to hopefully create an exe file --------------- You will need to have one .prg that is the entry point for the system. That is -------------- procedure main set date british do stuff quit return Now read the getting started in the help files. You should find then in c:\alaska\xppw32\book or in your start - program menu. Look xBase++ Documentation, Contents, Programming Tools, Project Builder (pbuild) Why don't you show us your .rmk and .lnk files and we will be able to help if you get stuck. BTW. We don't have a noone in this news group. Happy Hunting Mark | |
hERBERT ZIMBIZI | Re: Migrating from clipper 5e on Wed, 02 Aug 2006 16:43:42 +0200 Thank you man I have attached the files and I have done as you have advised seems I have a mammoth task here because it looks like there is a good number of unsupport functions like _get here is a screen dump Microsoft Windows [Version 5.2.3790] (C) Copyright 1985-2003 Microsoft Corp. C:\Documents and Settings\herbert>e: E:\>cd zt E:\zt>pbuild assist Xbase++ (R) ProjectBuilder Version 1.82.294 Copyright (c) Alaska Software 1997-2003. All rights reserved. assist.XPJ(23:0) Warning: Unknown suffix ERRORSYS assist.XPJ(24:0) Warning: Unknown suffix GETSYS assist.XPJ(25:0) Warning: Unknown suffix pASS1 assist.XPJ(26:0) Warning: Unknown suffix LIB assist.XPJ(27:0) Warning: Unknown suffix MENU3 assist.XPJ(28:0) Warning: Unknown suffix rESORT assist.XPJ(29:0) Warning: Unknown suffix CO_NAME assist.XPJ(30:0) Warning: Unknown suffix BOXSCR assist.XPJ(31:0) Warning: Unknown suffix H2_1_1 assist.XPJ(32:0) Warning: Unknown suffix CONDO assist.XPJ(33:0) Warning: Unknown suffix H2_1_2 assist.XPJ(34:0) Warning: Unknown suffix CONPROF assist.XPJ(35:0) Warning: Unknown suffix ADJUST assist.XPJ(36:0) Warning: Unknown suffix H2_1_4 assist.XPJ(37:0) Warning: Unknown suffix DISB assist.XPJ(38:0) Warning: Unknown suffix H3_1 assist.XPJ(39:0) Warning: Unknown suffix RECADD assist.XPJ(40:0) Warning: Unknown suffix H4_1 assist.XPJ(41:0) Warning: Unknown suffix INTCAL assist.XPJ(42:0) Warning: Unknown suffix SR assist.XPJ(43:0) Warning: Unknown suffix ARCH assist.XPJ(44:0) Warning: Unknown suffix DPTPUTC assist.XPJ(45:0) Warning: Unknown suffix CONREAD assist.XPJ(46:0) Warning: Unknown suffix CONPUT assist.XPJ(47:0) Warning: Unknown suffix CONPPUT assist.XPJ(48:0) Warning: Unknown suffix FUNCKEY assist.XPJ(49:0) Warning: Unknown suffix ADJPUT assist.XPJ(50:0) Warning: Unknown suffix RECREAD assist.XPJ(51:0) Warning: Unknown suffix RECPUT assist.XPJ(52:0) Warning: Unknown suffix CUSMAINT assist.XPJ(53:0) Warning: Unknown suffix SUPMAINT assist.XPJ(54:0) Warning: Unknown suffix FDAGENCY assist.XPJ(55:0) Warning: Unknown suffix REGMAINT assist.XPJ(56:0) Warning: Unknown suffix BNKMAINT assist.XPJ(57:0) Warning: Unknown suffix REPMAINT assist.XPJ(58:0) Warning: Unknown suffix PERIODIC assist.XPJ(59:0) Warning: Unknown suffix CUSSCR assist.XPJ(60:0) Warning: Unknown suffix ADDDPTC assist.XPJ(61:0) Warning: Unknown suffix EDDPTC assist.XPJ(62:0) Warning: Unknown suffix DELDPTC assist.XPJ(63:0) Warning: Unknown suffix ADDDPT assist.XPJ(64:0) Warning: Unknown suffix EDDPT assist.XPJ(65:0) Warning: Unknown suffix DELDPT assist.XPJ(66:0) Warning: Unknown suffix ADDDPT1 assist.XPJ(67:0) Warning: Unknown suffix EDDPT1 assist.XPJ(68:0) Warning: Unknown suffix DELDPT1 assist.XPJ(69:0) Warning: Unknown suffix ADDDPT2 assist.XPJ(70:0) Warning: Unknown suffix EDDPT2 assist.XPJ(71:0) Warning: Unknown suffix DELDPT2 assist.XPJ(72:0) Warning: Unknown suffix ADDDPT3 assist.XPJ(73:0) Warning: Unknown suffix EDDPT3 assist.XPJ(74:0) Warning: Unknown suffix DELDPT3 assist.XPJ(75:0) Warning: Unknown suffix CLLIST assist.XPJ(76:0) Warning: Unknown suffix SUPLIST assist.XPJ(77:0) Warning: Unknown suffix CONLIST assist.XPJ(78:0) Warning: Unknown suffix RECLIST assist.XPJ(79:0) Warning: Unknown suffix INTLIST assist.XPJ(80:0) Warning: Unknown suffix DUELIST assist.XPJ(81:0) Warning: Unknown suffix PSTATUS assist.XPJ(82:0) Warning: Unknown suffix CPMTAN assist.XPJ(83:0) Warning: Unknown suffix NEWLOAN assist.XPJ(84:0) Warning: Unknown suffix EXECSUMM assist.XPJ(85:0) Warning: Unknown suffix STATMNT assist.XPJ(86:0) Warning: Unknown suffix CHQDSB assist.XPJ(87:0) Warning: Unknown suffix PROC_FEE assist.XPJ(88:0) Warning: Unknown suffix DRCRREP assist.XPJ(89:0) Warning: Unknown suffix PREREP assist.XPJ(90:0) Warning: Unknown suffix NOTPD assist.XPJ(91:0) Warning: Unknown suffix PERSCR assist.XPJ(92:0) Warning: Unknown suffix XX assist.XPJ(93:0) Warning: Unknown suffix CONSCR assist.XPJ(94:0) Warning: Unknown suffix RECSCR assist.XPJ(95:0) Warning: Unknown suffix CONPSCR assist.XPJ(96:0) Warning: Unknown suffix INCALSCR assist.XPJ(97:0) Warning: Unknown suffix TRANS1 assist.XPJ(98:0) Warning: Unknown suffix TRANS2 assist.XPJ(99:0) Warning: Unknown suffix CTSCR assist.XPJ(100:0) Warning: Unknown suffix ADJSCR assist.XPJ(101:0) Warning: Unknown suffix DISBSCR assist.XPJ(102:0) Warning: Unknown suffix SAVSCR assist.XPJ(103:0) Warning: Unknown suffix PRESCR assist.XPJ(104:0) Warning: Unknown suffix RECSCR1 assist.XPJ(105:0) Warning: Unknown suffix NOTPSCR assist.XPJ(106:0) Warning: Unknown suffix NOTPSCR2 assist.XPJ(107:0) Warning: Unknown suffix PRO_FEE assist.XPJ(108:0) Warning: Unknown suffix PASS2 assist.XPJ(109:0) Warning: Unknown suffix PASS3 assist.XPJ(110:0) Warning: Unknown suffix APASS1 assist.XPJ(111:0) Warning: Unknown suffix APASS3 assist.XPJ(112:0) Warning: Unknown suffix MYCHOICE assist.XPJ(113:0) Warning: Unknown suffix ADDCON assist.XPJ(114:0) Warning: Unknown suffix EDCON assist.XPJ(115:0) Warning: Unknown suffix DELCON assist.XPJ(116:0) Warning: Unknown suffix ADDPCON assist.XPJ(117:0) Warning: Unknown suffix ADDADJ assist.XPJ(118:0) Warning: Unknown suffix ADDDISB assist.XPJ(119:0) Warning: Unknown suffix EDDISB assist.XPJ(120:0) Warning: Unknown suffix DELDISB assist.XPJ(121:0) Warning: Unknown suffix CONUPDA assist.XPJ(122:0) Warning: Unknown suffix AGEPROC assist.XPJ(123:0) Warning: Unknown suffix ADJUPDA assist.XPJ(124:0) Warning: Unknown suffix CONP assist.XPJ(125:0) Warning: Unknown suffix DISUP assist.XPJ(126:0) Warning: Unknown suffix PRNTREC assist.XPJ(127:0) Warning: Unknown suffix ADDREC assist.XPJ(128:0) Warning: Unknown suffix DELREC assist.XPJ(129:0) Warning: Unknown suffix RECUPDA assist.XPJ(130:0) Warning: Unknown suffix SAVREP assist.XPJ(131:0) Warning: Unknown suffix XX_PROC_ xpp /m /v /p /b /rxppui2.lib /b /dDEBUG @C:\DOCUME~1\herbert\LOCALS~1\Temp\08029 945.tmp Xbase++ (R) Compiler 1.82.294 Mar 24 2003 Copyright (c) Alaska Software. All rights reserved. File: MAIN.PRG Line: 448 File MAIN.PRG successfully compiled. alink @C:\DOCUME~1\herbert\LOCALS~1\Temp\08020173.tmp Alaska 32-Bit Linker Version 1.82.294 Copyright (c) Alaska Software 1997-2003. All rights reserved. MAIN.obj: error ALK2102: unresolved external symbol __KILLREAD MAIN.obj: error ALK2102: unresolved external symbol __SETCENTU MAIN.obj: error ALK2102: unresolved external symbol __MRESTORE MAIN.obj: error ALK2102: unresolved external symbol __MSAVE MAIN.obj: error ALK2102: unresolved external symbol PASS1 MAIN.obj: error ALK2102: unresolved external symbol SCR1 MAIN.obj: error ALK2102: unresolved external symbol UTILMNT MAIN.obj: error ALK2102: unresolved external symbol DATEGET MAIN.obj: error ALK2102: unresolved external symbol LOGO MAIN.obj: error ALK2102: unresolved external symbol USE_FILE MAIN.obj: error ALK2102: unresolved external symbol TMENU MAIN.obj: error ALK2102: unresolved external symbol BOT1 MAIN.obj: error ALK2102: unresolved external symbol PREJECT MAIN.obj: error ALK2102: unresolved external symbol CONTSHOW MAIN.obj: error ALK2102: unresolved external symbol __ATPROMPT MAIN.obj: error ALK2102: unresolved external symbol __KEYBOARD MAIN.obj: error ALK2102: unresolved external symbol __MENUTO MAIN.obj: error ALK2102: unresolved external symbol ESCCHK MAIN.obj: error ALK2102: unresolved external symbol SYSEXIT MAIN.obj: error ALK2102: unresolved external symbol __QUIT MAIN.obj: error ALK2102: unresolved external symbol BOXPUT MAIN.obj: error ALK2102: unresolved external symbol MENU3 C:\ALASKA\XPPW32\LIB\XPPRT0.LIB(.\objsWN.coff\coffSysMap.obj): error ALK2102: un resolved external symbol MAIN ALINK: fatal error ALK4102: 23 external symbols unresolved 'alink @C:\DOCUME~1\herbert\LOCALS~1\Temp\08020173.tmp' returned error 1 Processing time: 4.61 secs. E:\zt> "mark carew" <markcarew@magicwanddept.com.au> wrote in message news:19ojnl7j0zhlj.1b0skoegaj6ks$.dlg@40tude.net... > > Hi hERBERT. > > > On Wed, 2 Aug 2006 09:00:31 +0200, hERBERT ZIMBIZI wrote: > >> I am trying to migrate a legacy application that I inherited from noone. > Apparently I have had to learn the hard way with clipper 5e as I had to > learn it from scratch with no help from anyone. I managed to decompile the > software and now have the code. Through the changes I made I have learned > so much on clipper. Now my problem is Iam trying to migrate to Xbase++. > the > decompiled program has UDF files and 1 rmk and 1 lnk file. To recompile it > I issue the command rmake programfile. I cant seem to figure out how to > the > compile the same source code using xbase++. I have gone through the whole > news items but noone seems to have answered the question. Can anyone > assist. > > > ------------- > In Dos > --------------- > dir *.prg /b > project.xpj > --------------- > Add the following lines to the project.xpj file > --------------- > > //// Project - Definition - File created by PBUILD Version 1.0 > Date: 17/09/99 Time: 09:16:18 > COMPILE_FLAGS = /b /q /p /w /wi /wl /wu /v /rxppui2.lib > COMPILE_FLAGS = /b /q /p /w /v /rxppui2.lib > > > [PROJECT] > COMPILE = xpp > COMPILE_FLAGS = /b /q /p /w /v /rxppui2.lib > COMPILE_FLAGS = /m /v /p /b /rxppui2.lib > DEBUG = YES > GUI = YES > LINKER = alink > RC_COMPILE = arc > RC_FLAGS = /v > PROJECT.XPJ > > [PROJECT.XPJ] > MYFIRST.EXE > > [MYFIRST.EXE] > PROG1.PRG -------------------- > prog1a.prg add the prg list here > PROG2.PRG like this > ---------------- > Now you have the equivalent of a .rmk file (make file) so that you can > issue a PBUILD to hopefully create an exe file > --------------- > > You will need to have one .prg that is the entry point for the system. > That > is > -------------- > procedure main > > set date british > do stuff > quit > return > > > Now read the getting started in the help files. You should find then in > c:\alaska\xppw32\book or in your start - program menu. Look xBase++ > Documentation, Contents, Programming Tools, Project Builder (pbuild) > > Why don't you show us your .rmk and .lnk files and we will be able to help > if you get stuck. BTW. We don't have a noone in this news group. > > Happy Hunting > Mark ASSIST.RMK ASSIST.LNK | |
James Loughner | Re: Migrating from clipper 5e on Wed, 02 Aug 2006 10:59:02 -0400 I think the problem is that you are using decompiled source. It has lost the higher level syntax and you are seeing only the lower level stuff and that is different in Xbase++ then Clipper. Jim hERBERT ZIMBIZI wrote: > Thank you man I have attached the files and I have done as you have advised > seems I have a mammoth task here because it looks like there is a good > number of unsupport functions like _get > here is a screen dump > > Microsoft Windows [Version 5.2.3790] > (C) Copyright 1985-2003 Microsoft Corp. > > C:\Documents and Settings\herbert>e: > > E:\>cd zt > > E:\zt>pbuild assist > Xbase++ (R) ProjectBuilder Version 1.82.294 > Copyright (c) Alaska Software 1997-2003. All rights reserved. > assist.XPJ(23:0) Warning: Unknown suffix ERRORSYS > assist.XPJ(24:0) Warning: Unknown suffix GETSYS > assist.XPJ(25:0) Warning: Unknown suffix pASS1 > assist.XPJ(26:0) Warning: Unknown suffix LIB > assist.XPJ(27:0) Warning: Unknown suffix MENU3 > assist.XPJ(28:0) Warning: Unknown suffix rESORT > assist.XPJ(29:0) Warning: Unknown suffix CO_NAME > assist.XPJ(30:0) Warning: Unknown suffix BOXSCR > assist.XPJ(31:0) Warning: Unknown suffix H2_1_1 > assist.XPJ(32:0) Warning: Unknown suffix CONDO > assist.XPJ(33:0) Warning: Unknown suffix H2_1_2 > assist.XPJ(34:0) Warning: Unknown suffix CONPROF > assist.XPJ(35:0) Warning: Unknown suffix ADJUST > assist.XPJ(36:0) Warning: Unknown suffix H2_1_4 > assist.XPJ(37:0) Warning: Unknown suffix DISB > assist.XPJ(38:0) Warning: Unknown suffix H3_1 > assist.XPJ(39:0) Warning: Unknown suffix RECADD > assist.XPJ(40:0) Warning: Unknown suffix H4_1 > assist.XPJ(41:0) Warning: Unknown suffix INTCAL > assist.XPJ(42:0) Warning: Unknown suffix SR > assist.XPJ(43:0) Warning: Unknown suffix ARCH > assist.XPJ(44:0) Warning: Unknown suffix DPTPUTC > assist.XPJ(45:0) Warning: Unknown suffix CONREAD > assist.XPJ(46:0) Warning: Unknown suffix CONPUT > assist.XPJ(47:0) Warning: Unknown suffix CONPPUT > assist.XPJ(48:0) Warning: Unknown suffix FUNCKEY > assist.XPJ(49:0) Warning: Unknown suffix ADJPUT > assist.XPJ(50:0) Warning: Unknown suffix RECREAD > assist.XPJ(51:0) Warning: Unknown suffix RECPUT > assist.XPJ(52:0) Warning: Unknown suffix CUSMAINT > assist.XPJ(53:0) Warning: Unknown suffix SUPMAINT > assist.XPJ(54:0) Warning: Unknown suffix FDAGENCY > assist.XPJ(55:0) Warning: Unknown suffix REGMAINT > assist.XPJ(56:0) Warning: Unknown suffix BNKMAINT > assist.XPJ(57:0) Warning: Unknown suffix REPMAINT > assist.XPJ(58:0) Warning: Unknown suffix PERIODIC > assist.XPJ(59:0) Warning: Unknown suffix CUSSCR > assist.XPJ(60:0) Warning: Unknown suffix ADDDPTC > assist.XPJ(61:0) Warning: Unknown suffix EDDPTC > assist.XPJ(62:0) Warning: Unknown suffix DELDPTC > assist.XPJ(63:0) Warning: Unknown suffix ADDDPT > assist.XPJ(64:0) Warning: Unknown suffix EDDPT > assist.XPJ(65:0) Warning: Unknown suffix DELDPT > assist.XPJ(66:0) Warning: Unknown suffix ADDDPT1 > assist.XPJ(67:0) Warning: Unknown suffix EDDPT1 > assist.XPJ(68:0) Warning: Unknown suffix DELDPT1 > assist.XPJ(69:0) Warning: Unknown suffix ADDDPT2 > assist.XPJ(70:0) Warning: Unknown suffix EDDPT2 > assist.XPJ(71:0) Warning: Unknown suffix DELDPT2 > assist.XPJ(72:0) Warning: Unknown suffix ADDDPT3 > assist.XPJ(73:0) Warning: Unknown suffix EDDPT3 > assist.XPJ(74:0) Warning: Unknown suffix DELDPT3 > assist.XPJ(75:0) Warning: Unknown suffix CLLIST > assist.XPJ(76:0) Warning: Unknown suffix SUPLIST > assist.XPJ(77:0) Warning: Unknown suffix CONLIST > assist.XPJ(78:0) Warning: Unknown suffix RECLIST > assist.XPJ(79:0) Warning: Unknown suffix INTLIST > assist.XPJ(80:0) Warning: Unknown suffix DUELIST > assist.XPJ(81:0) Warning: Unknown suffix PSTATUS > assist.XPJ(82:0) Warning: Unknown suffix CPMTAN > assist.XPJ(83:0) Warning: Unknown suffix NEWLOAN > assist.XPJ(84:0) Warning: Unknown suffix EXECSUMM > assist.XPJ(85:0) Warning: Unknown suffix STATMNT > assist.XPJ(86:0) Warning: Unknown suffix CHQDSB > assist.XPJ(87:0) Warning: Unknown suffix PROC_FEE > assist.XPJ(88:0) Warning: Unknown suffix DRCRREP > assist.XPJ(89:0) Warning: Unknown suffix PREREP > assist.XPJ(90:0) Warning: Unknown suffix NOTPD > assist.XPJ(91:0) Warning: Unknown suffix PERSCR > assist.XPJ(92:0) Warning: Unknown suffix XX > assist.XPJ(93:0) Warning: Unknown suffix CONSCR > assist.XPJ(94:0) Warning: Unknown suffix RECSCR > assist.XPJ(95:0) Warning: Unknown suffix CONPSCR > assist.XPJ(96:0) Warning: Unknown suffix INCALSCR > assist.XPJ(97:0) Warning: Unknown suffix TRANS1 > assist.XPJ(98:0) Warning: Unknown suffix TRANS2 > assist.XPJ(99:0) Warning: Unknown suffix CTSCR > assist.XPJ(100:0) Warning: Unknown suffix ADJSCR > assist.XPJ(101:0) Warning: Unknown suffix DISBSCR > assist.XPJ(102:0) Warning: Unknown suffix SAVSCR > assist.XPJ(103:0) Warning: Unknown suffix PRESCR > assist.XPJ(104:0) Warning: Unknown suffix RECSCR1 > assist.XPJ(105:0) Warning: Unknown suffix NOTPSCR > assist.XPJ(106:0) Warning: Unknown suffix NOTPSCR2 > assist.XPJ(107:0) Warning: Unknown suffix PRO_FEE > assist.XPJ(108:0) Warning: Unknown suffix PASS2 > assist.XPJ(109:0) Warning: Unknown suffix PASS3 > assist.XPJ(110:0) Warning: Unknown suffix APASS1 > assist.XPJ(111:0) Warning: Unknown suffix APASS3 > assist.XPJ(112:0) Warning: Unknown suffix MYCHOICE > assist.XPJ(113:0) Warning: Unknown suffix ADDCON > assist.XPJ(114:0) Warning: Unknown suffix EDCON > assist.XPJ(115:0) Warning: Unknown suffix DELCON > assist.XPJ(116:0) Warning: Unknown suffix ADDPCON > assist.XPJ(117:0) Warning: Unknown suffix ADDADJ > assist.XPJ(118:0) Warning: Unknown suffix ADDDISB > assist.XPJ(119:0) Warning: Unknown suffix EDDISB > assist.XPJ(120:0) Warning: Unknown suffix DELDISB > assist.XPJ(121:0) Warning: Unknown suffix CONUPDA > assist.XPJ(122:0) Warning: Unknown suffix AGEPROC > assist.XPJ(123:0) Warning: Unknown suffix ADJUPDA > assist.XPJ(124:0) Warning: Unknown suffix CONP > assist.XPJ(125:0) Warning: Unknown suffix DISUP > assist.XPJ(126:0) Warning: Unknown suffix PRNTREC > assist.XPJ(127:0) Warning: Unknown suffix ADDREC > assist.XPJ(128:0) Warning: Unknown suffix DELREC > assist.XPJ(129:0) Warning: Unknown suffix RECUPDA > assist.XPJ(130:0) Warning: Unknown suffix SAVREP > assist.XPJ(131:0) Warning: Unknown suffix XX_PROC_ > xpp /m /v /p /b /rxppui2.lib /b /dDEBUG > @C:\DOCUME~1\herbert\LOCALS~1\Temp\08029 > 945.tmp > Xbase++ (R) Compiler 1.82.294 Mar 24 2003 > Copyright (c) Alaska Software. All rights reserved. > File: MAIN.PRG Line: 448 > File MAIN.PRG successfully compiled. > > alink @C:\DOCUME~1\herbert\LOCALS~1\Temp\08020173.tmp > Alaska 32-Bit Linker Version 1.82.294 > Copyright (c) Alaska Software 1997-2003. All rights reserved. > > MAIN.obj: error ALK2102: unresolved external symbol __KILLREAD > MAIN.obj: error ALK2102: unresolved external symbol __SETCENTU > MAIN.obj: error ALK2102: unresolved external symbol __MRESTORE > MAIN.obj: error ALK2102: unresolved external symbol __MSAVE > MAIN.obj: error ALK2102: unresolved external symbol PASS1 > MAIN.obj: error ALK2102: unresolved external symbol SCR1 > MAIN.obj: error ALK2102: unresolved external symbol UTILMNT > MAIN.obj: error ALK2102: unresolved external symbol DATEGET > MAIN.obj: error ALK2102: unresolved external symbol LOGO > MAIN.obj: error ALK2102: unresolved external symbol USE_FILE > MAIN.obj: error ALK2102: unresolved external symbol TMENU > MAIN.obj: error ALK2102: unresolved external symbol BOT1 > MAIN.obj: error ALK2102: unresolved external symbol PREJECT > MAIN.obj: error ALK2102: unresolved external symbol CONTSHOW > MAIN.obj: error ALK2102: unresolved external symbol __ATPROMPT > MAIN.obj: error ALK2102: unresolved external symbol __KEYBOARD > MAIN.obj: error ALK2102: unresolved external symbol __MENUTO > MAIN.obj: error ALK2102: unresolved external symbol ESCCHK > MAIN.obj: error ALK2102: unresolved external symbol SYSEXIT > MAIN.obj: error ALK2102: unresolved external symbol __QUIT > MAIN.obj: error ALK2102: unresolved external symbol BOXPUT > MAIN.obj: error ALK2102: unresolved external symbol MENU3 > C:\ALASKA\XPPW32\LIB\XPPRT0.LIB(.\objsWN.coff\coffSysMap.obj): error > ALK2102: un > resolved external symbol MAIN > ALINK: fatal error ALK4102: 23 external symbols unresolved > > 'alink @C:\DOCUME~1\herbert\LOCALS~1\Temp\08020173.tmp' returned error 1 > Processing time: 4.61 secs. > > E:\zt> > > > "mark carew" <markcarew@magicwanddept.com.au> wrote in message > news:19ojnl7j0zhlj.1b0skoegaj6ks$.dlg@40tude.net... >> Hi hERBERT. >> >> >> On Wed, 2 Aug 2006 09:00:31 +0200, hERBERT ZIMBIZI wrote: >> >>> I am trying to migrate a legacy application that I inherited from noone. >> Apparently I have had to learn the hard way with clipper 5e as I had to >> learn it from scratch with no help from anyone. I managed to decompile the >> software and now have the code. Through the changes I made I have learned >> so much on clipper. Now my problem is Iam trying to migrate to Xbase++. >> the >> decompiled program has UDF files and 1 rmk and 1 lnk file. To recompile it >> I issue the command rmake programfile. I cant seem to figure out how to >> the >> compile the same source code using xbase++. I have gone through the whole >> news items but noone seems to have answered the question. Can anyone >> assist. >> >> >> ------------- >> In Dos >> --------------- >> dir *.prg /b > project.xpj >> --------------- >> Add the following lines to the project.xpj file >> --------------- >> >> //// Project - Definition - File created by PBUILD Version 1.0 >> Date: 17/09/99 Time: 09:16:18 >> COMPILE_FLAGS = /b /q /p /w /wi /wl /wu /v /rxppui2.lib >> COMPILE_FLAGS = /b /q /p /w /v /rxppui2.lib >> >> >> [PROJECT] >> COMPILE = xpp >> COMPILE_FLAGS = /b /q /p /w /v /rxppui2.lib >> COMPILE_FLAGS = /m /v /p /b /rxppui2.lib >> DEBUG = YES >> GUI = YES >> LINKER = alink >> RC_COMPILE = arc >> RC_FLAGS = /v >> PROJECT.XPJ >> >> [PROJECT.XPJ] >> MYFIRST.EXE >> >> [MYFIRST.EXE] >> PROG1.PRG -------------------- >> prog1a.prg add the prg list here >> PROG2.PRG like this >> ---------------- >> Now you have the equivalent of a .rmk file (make file) so that you can >> issue a PBUILD to hopefully create an exe file >> --------------- >> >> You will need to have one .prg that is the entry point for the system. >> That >> is >> -------------- >> procedure main >> >> set date british >> do stuff >> quit >> return >> >> >> Now read the getting started in the help files. You should find then in >> c:\alaska\xppw32\book or in your start - program menu. Look xBase++ >> Documentation, Contents, Programming Tools, Project Builder (pbuild) >> >> Why don't you show us your .rmk and .lnk files and we will be able to help >> if you get stuck. BTW. We don't have a noone in this news group. >> >> Happy Hunting >> Mark > > | |
hERBERT ZIMBIZI | Re: Migrating from clipper 5e on Thu, 03 Aug 2006 08:21:31 +0200 Are you saying that these commands that start with an underscore are not higher level syntax or that they have higherlevel equivalents. It would seem that most of these are documented on clipper 5e. Some of them I have found ways of replacing them but others are headache. But then on the other hand it would seem that I have I might have to rewrite the program in Xbase++. Regards "James Loughner" <jwrl@charter.net> wrote in message news:383e9397$2e352e90$b192d@news.alaska-software.com... >I think the problem is that you are using decompiled source. It has lost > the higher level syntax and you are seeing only the lower level stuff > and that is different in Xbase++ then Clipper. > > Jim > > hERBERT ZIMBIZI wrote: >> Thank you man I have attached the files and I have done as you have >> advised >> seems I have a mammoth task here because it looks like there is a good >> number of unsupport functions like _get >> here is a screen dump >> >> Microsoft Windows [Version 5.2.3790] >> (C) Copyright 1985-2003 Microsoft Corp. >> >> C:\Documents and Settings\herbert>e: >> >> E:\>cd zt >> >> E:\zt>pbuild assist >> Xbase++ (R) ProjectBuilder Version 1.82.294 >> Copyright (c) Alaska Software 1997-2003. All rights reserved. >> assist.XPJ(23:0) Warning: Unknown suffix ERRORSYS >> assist.XPJ(24:0) Warning: Unknown suffix GETSYS >> assist.XPJ(25:0) Warning: Unknown suffix pASS1 >> assist.XPJ(26:0) Warning: Unknown suffix LIB >> assist.XPJ(27:0) Warning: Unknown suffix MENU3 >> assist.XPJ(28:0) Warning: Unknown suffix rESORT >> assist.XPJ(29:0) Warning: Unknown suffix CO_NAME >> assist.XPJ(30:0) Warning: Unknown suffix BOXSCR >> assist.XPJ(31:0) Warning: Unknown suffix H2_1_1 >> assist.XPJ(32:0) Warning: Unknown suffix CONDO >> assist.XPJ(33:0) Warning: Unknown suffix H2_1_2 >> assist.XPJ(34:0) Warning: Unknown suffix CONPROF >> assist.XPJ(35:0) Warning: Unknown suffix ADJUST >> assist.XPJ(36:0) Warning: Unknown suffix H2_1_4 >> assist.XPJ(37:0) Warning: Unknown suffix DISB >> assist.XPJ(38:0) Warning: Unknown suffix H3_1 >> assist.XPJ(39:0) Warning: Unknown suffix RECADD >> assist.XPJ(40:0) Warning: Unknown suffix H4_1 >> assist.XPJ(41:0) Warning: Unknown suffix INTCAL >> assist.XPJ(42:0) Warning: Unknown suffix SR >> assist.XPJ(43:0) Warning: Unknown suffix ARCH >> assist.XPJ(44:0) Warning: Unknown suffix DPTPUTC >> assist.XPJ(45:0) Warning: Unknown suffix CONREAD >> assist.XPJ(46:0) Warning: Unknown suffix CONPUT >> assist.XPJ(47:0) Warning: Unknown suffix CONPPUT >> assist.XPJ(48:0) Warning: Unknown suffix FUNCKEY >> assist.XPJ(49:0) Warning: Unknown suffix ADJPUT >> assist.XPJ(50:0) Warning: Unknown suffix RECREAD >> assist.XPJ(51:0) Warning: Unknown suffix RECPUT >> assist.XPJ(52:0) Warning: Unknown suffix CUSMAINT >> assist.XPJ(53:0) Warning: Unknown suffix SUPMAINT >> assist.XPJ(54:0) Warning: Unknown suffix FDAGENCY >> assist.XPJ(55:0) Warning: Unknown suffix REGMAINT >> assist.XPJ(56:0) Warning: Unknown suffix BNKMAINT >> assist.XPJ(57:0) Warning: Unknown suffix REPMAINT >> assist.XPJ(58:0) Warning: Unknown suffix PERIODIC >> assist.XPJ(59:0) Warning: Unknown suffix CUSSCR >> assist.XPJ(60:0) Warning: Unknown suffix ADDDPTC >> assist.XPJ(61:0) Warning: Unknown suffix EDDPTC >> assist.XPJ(62:0) Warning: Unknown suffix DELDPTC >> assist.XPJ(63:0) Warning: Unknown suffix ADDDPT >> assist.XPJ(64:0) Warning: Unknown suffix EDDPT >> assist.XPJ(65:0) Warning: Unknown suffix DELDPT >> assist.XPJ(66:0) Warning: Unknown suffix ADDDPT1 >> assist.XPJ(67:0) Warning: Unknown suffix EDDPT1 >> assist.XPJ(68:0) Warning: Unknown suffix DELDPT1 >> assist.XPJ(69:0) Warning: Unknown suffix ADDDPT2 >> assist.XPJ(70:0) Warning: Unknown suffix EDDPT2 >> assist.XPJ(71:0) Warning: Unknown suffix DELDPT2 >> assist.XPJ(72:0) Warning: Unknown suffix ADDDPT3 >> assist.XPJ(73:0) Warning: Unknown suffix EDDPT3 >> assist.XPJ(74:0) Warning: Unknown suffix DELDPT3 >> assist.XPJ(75:0) Warning: Unknown suffix CLLIST >> assist.XPJ(76:0) Warning: Unknown suffix SUPLIST >> assist.XPJ(77:0) Warning: Unknown suffix CONLIST >> assist.XPJ(78:0) Warning: Unknown suffix RECLIST >> assist.XPJ(79:0) Warning: Unknown suffix INTLIST >> assist.XPJ(80:0) Warning: Unknown suffix DUELIST >> assist.XPJ(81:0) Warning: Unknown suffix PSTATUS >> assist.XPJ(82:0) Warning: Unknown suffix CPMTAN >> assist.XPJ(83:0) Warning: Unknown suffix NEWLOAN >> assist.XPJ(84:0) Warning: Unknown suffix EXECSUMM >> assist.XPJ(85:0) Warning: Unknown suffix STATMNT >> assist.XPJ(86:0) Warning: Unknown suffix CHQDSB >> assist.XPJ(87:0) Warning: Unknown suffix PROC_FEE >> assist.XPJ(88:0) Warning: Unknown suffix DRCRREP >> assist.XPJ(89:0) Warning: Unknown suffix PREREP >> assist.XPJ(90:0) Warning: Unknown suffix NOTPD >> assist.XPJ(91:0) Warning: Unknown suffix PERSCR >> assist.XPJ(92:0) Warning: Unknown suffix XX >> assist.XPJ(93:0) Warning: Unknown suffix CONSCR >> assist.XPJ(94:0) Warning: Unknown suffix RECSCR >> assist.XPJ(95:0) Warning: Unknown suffix CONPSCR >> assist.XPJ(96:0) Warning: Unknown suffix INCALSCR >> assist.XPJ(97:0) Warning: Unknown suffix TRANS1 >> assist.XPJ(98:0) Warning: Unknown suffix TRANS2 >> assist.XPJ(99:0) Warning: Unknown suffix CTSCR >> assist.XPJ(100:0) Warning: Unknown suffix ADJSCR >> assist.XPJ(101:0) Warning: Unknown suffix DISBSCR >> assist.XPJ(102:0) Warning: Unknown suffix SAVSCR >> assist.XPJ(103:0) Warning: Unknown suffix PRESCR >> assist.XPJ(104:0) Warning: Unknown suffix RECSCR1 >> assist.XPJ(105:0) Warning: Unknown suffix NOTPSCR >> assist.XPJ(106:0) Warning: Unknown suffix NOTPSCR2 >> assist.XPJ(107:0) Warning: Unknown suffix PRO_FEE >> assist.XPJ(108:0) Warning: Unknown suffix PASS2 >> assist.XPJ(109:0) Warning: Unknown suffix PASS3 >> assist.XPJ(110:0) Warning: Unknown suffix APASS1 >> assist.XPJ(111:0) Warning: Unknown suffix APASS3 >> assist.XPJ(112:0) Warning: Unknown suffix MYCHOICE >> assist.XPJ(113:0) Warning: Unknown suffix ADDCON >> assist.XPJ(114:0) Warning: Unknown suffix EDCON >> assist.XPJ(115:0) Warning: Unknown suffix DELCON >> assist.XPJ(116:0) Warning: Unknown suffix ADDPCON >> assist.XPJ(117:0) Warning: Unknown suffix ADDADJ >> assist.XPJ(118:0) Warning: Unknown suffix ADDDISB >> assist.XPJ(119:0) Warning: Unknown suffix EDDISB >> assist.XPJ(120:0) Warning: Unknown suffix DELDISB >> assist.XPJ(121:0) Warning: Unknown suffix CONUPDA >> assist.XPJ(122:0) Warning: Unknown suffix AGEPROC >> assist.XPJ(123:0) Warning: Unknown suffix ADJUPDA >> assist.XPJ(124:0) Warning: Unknown suffix CONP >> assist.XPJ(125:0) Warning: Unknown suffix DISUP >> assist.XPJ(126:0) Warning: Unknown suffix PRNTREC >> assist.XPJ(127:0) Warning: Unknown suffix ADDREC >> assist.XPJ(128:0) Warning: Unknown suffix DELREC >> assist.XPJ(129:0) Warning: Unknown suffix RECUPDA >> assist.XPJ(130:0) Warning: Unknown suffix SAVREP >> assist.XPJ(131:0) Warning: Unknown suffix XX_PROC_ >> xpp /m /v /p /b /rxppui2.lib /b /dDEBUG >> @C:\DOCUME~1\herbert\LOCALS~1\Temp\08029 >> 945.tmp >> Xbase++ (R) Compiler 1.82.294 Mar 24 2003 >> Copyright (c) Alaska Software. All rights reserved. >> File: MAIN.PRG Line: 448 >> File MAIN.PRG successfully compiled. >> >> alink @C:\DOCUME~1\herbert\LOCALS~1\Temp\08020173.tmp >> Alaska 32-Bit Linker Version 1.82.294 >> Copyright (c) Alaska Software 1997-2003. All rights reserved. >> >> MAIN.obj: error ALK2102: unresolved external symbol __KILLREAD >> MAIN.obj: error ALK2102: unresolved external symbol __SETCENTU >> MAIN.obj: error ALK2102: unresolved external symbol __MRESTORE >> MAIN.obj: error ALK2102: unresolved external symbol __MSAVE >> MAIN.obj: error ALK2102: unresolved external symbol PASS1 >> MAIN.obj: error ALK2102: unresolved external symbol SCR1 >> MAIN.obj: error ALK2102: unresolved external symbol UTILMNT >> MAIN.obj: error ALK2102: unresolved external symbol DATEGET >> MAIN.obj: error ALK2102: unresolved external symbol LOGO >> MAIN.obj: error ALK2102: unresolved external symbol USE_FILE >> MAIN.obj: error ALK2102: unresolved external symbol TMENU >> MAIN.obj: error ALK2102: unresolved external symbol BOT1 >> MAIN.obj: error ALK2102: unresolved external symbol PREJECT >> MAIN.obj: error ALK2102: unresolved external symbol CONTSHOW >> MAIN.obj: error ALK2102: unresolved external symbol __ATPROMPT >> MAIN.obj: error ALK2102: unresolved external symbol __KEYBOARD >> MAIN.obj: error ALK2102: unresolved external symbol __MENUTO >> MAIN.obj: error ALK2102: unresolved external symbol ESCCHK >> MAIN.obj: error ALK2102: unresolved external symbol SYSEXIT >> MAIN.obj: error ALK2102: unresolved external symbol __QUIT >> MAIN.obj: error ALK2102: unresolved external symbol BOXPUT >> MAIN.obj: error ALK2102: unresolved external symbol MENU3 >> C:\ALASKA\XPPW32\LIB\XPPRT0.LIB(.\objsWN.coff\coffSysMap.obj): error >> ALK2102: un >> resolved external symbol MAIN >> ALINK: fatal error ALK4102: 23 external symbols unresolved >> >> 'alink @C:\DOCUME~1\herbert\LOCALS~1\Temp\08020173.tmp' returned error >> 1 >> Processing time: 4.61 secs. >> >> E:\zt> >> >> >> "mark carew" <markcarew@magicwanddept.com.au> wrote in message >> news:19ojnl7j0zhlj.1b0skoegaj6ks$.dlg@40tude.net... >>> Hi hERBERT. >>> >>> >>> On Wed, 2 Aug 2006 09:00:31 +0200, hERBERT ZIMBIZI wrote: >>> >>>> I am trying to migrate a legacy application that I inherited from >>>> noone. >>> Apparently I have had to learn the hard way with clipper 5e as I had to >>> learn it from scratch with no help from anyone. I managed to decompile >>> the >>> software and now have the code. Through the changes I made I have >>> learned >>> so much on clipper. Now my problem is Iam trying to migrate to Xbase++. >>> the >>> decompiled program has UDF files and 1 rmk and 1 lnk file. To recompile >>> it >>> I issue the command rmake programfile. I cant seem to figure out how to >>> the >>> compile the same source code using xbase++. I have gone through the >>> whole >>> news items but noone seems to have answered the question. Can anyone >>> assist. >>> >>> >>> ------------- >>> In Dos >>> --------------- >>> dir *.prg /b > project.xpj >>> --------------- >>> Add the following lines to the project.xpj file >>> --------------- >>> >>> //// Project - Definition - File created by PBUILD Version 1.0 >>> Date: 17/09/99 Time: 09:16:18 >>> COMPILE_FLAGS = /b /q /p /w /wi /wl /wu /v /rxppui2.lib >>> COMPILE_FLAGS = /b /q /p /w /v /rxppui2.lib >>> >>> >>> [PROJECT] >>> COMPILE = xpp >>> COMPILE_FLAGS = /b /q /p /w /v /rxppui2.lib >>> COMPILE_FLAGS = /m /v /p /b /rxppui2.lib >>> DEBUG = YES >>> GUI = YES >>> LINKER = alink >>> RC_COMPILE = arc >>> RC_FLAGS = /v >>> PROJECT.XPJ >>> >>> [PROJECT.XPJ] >>> MYFIRST.EXE >>> >>> [MYFIRST.EXE] >>> PROG1.PRG -------------------- >>> prog1a.prg add the prg list here >>> PROG2.PRG like this >>> ---------------- >>> Now you have the equivalent of a .rmk file (make file) so that you can >>> issue a PBUILD to hopefully create an exe file >>> --------------- >>> >>> You will need to have one .prg that is the entry point for the system. >>> That >>> is >>> -------------- >>> procedure main >>> >>> set date british >>> do stuff >>> quit >>> return >>> >>> >>> Now read the getting started in the help files. You should find then in >>> c:\alaska\xppw32\book or in your start - program menu. Look xBase++ >>> Documentation, Contents, Programming Tools, Project Builder (pbuild) >>> >>> Why don't you show us your .rmk and .lnk files and we will be able to >>> help >>> if you get stuck. BTW. We don't have a noone in this news group. >>> >>> Happy Hunting >>> Mark >> >> | |
James Loughner | Re: Migrating from clipper 5e on Thu, 03 Aug 2006 02:30:21 -0400 Anything starting with an underscore is a low level function that may not have an exact matching function in Xbase++ They all have higher level equivalents which are the same in both. Jim hERBERT ZIMBIZI wrote: > Are you saying that these commands that start with an underscore are not > higher level syntax or that they have higherlevel equivalents. It would seem > that most of these are documented on clipper 5e. Some of them I have found > ways of replacing them but others are headache. But then on the other hand > it would seem that I have I might have to rewrite the program in Xbase++. > > Regards > > > "James Loughner" <jwrl@charter.net> wrote in message > news:383e9397$2e352e90$b192d@news.alaska-software.com... >> I think the problem is that you are using decompiled source. It has lost >> the higher level syntax and you are seeing only the lower level stuff >> and that is different in Xbase++ then Clipper. >> >> Jim >> >> hERBERT ZIMBIZI wrote: >>> Thank you man I have attached the files and I have done as you have >>> advised >>> seems I have a mammoth task here because it looks like there is a good >>> number of unsupport functions like _get >>> here is a screen dump >>> >>> Microsoft Windows [Version 5.2.3790] >>> (C) Copyright 1985-2003 Microsoft Corp. >>> >>> C:\Documents and Settings\herbert>e: >>> >>> E:\>cd zt >>> >>> E:\zt>pbuild assist >>> Xbase++ (R) ProjectBuilder Version 1.82.294 >>> Copyright (c) Alaska Software 1997-2003. All rights reserved. >>> assist.XPJ(23:0) Warning: Unknown suffix ERRORSYS >>> assist.XPJ(24:0) Warning: Unknown suffix GETSYS >>> assist.XPJ(25:0) Warning: Unknown suffix pASS1 >>> assist.XPJ(26:0) Warning: Unknown suffix LIB >>> assist.XPJ(27:0) Warning: Unknown suffix MENU3 >>> assist.XPJ(28:0) Warning: Unknown suffix rESORT >>> assist.XPJ(29:0) Warning: Unknown suffix CO_NAME >>> assist.XPJ(30:0) Warning: Unknown suffix BOXSCR >>> assist.XPJ(31:0) Warning: Unknown suffix H2_1_1 >>> assist.XPJ(32:0) Warning: Unknown suffix CONDO >>> assist.XPJ(33:0) Warning: Unknown suffix H2_1_2 >>> assist.XPJ(34:0) Warning: Unknown suffix CONPROF >>> assist.XPJ(35:0) Warning: Unknown suffix ADJUST >>> assist.XPJ(36:0) Warning: Unknown suffix H2_1_4 >>> assist.XPJ(37:0) Warning: Unknown suffix DISB >>> assist.XPJ(38:0) Warning: Unknown suffix H3_1 >>> assist.XPJ(39:0) Warning: Unknown suffix RECADD >>> assist.XPJ(40:0) Warning: Unknown suffix H4_1 >>> assist.XPJ(41:0) Warning: Unknown suffix INTCAL >>> assist.XPJ(42:0) Warning: Unknown suffix SR >>> assist.XPJ(43:0) Warning: Unknown suffix ARCH >>> assist.XPJ(44:0) Warning: Unknown suffix DPTPUTC >>> assist.XPJ(45:0) Warning: Unknown suffix CONREAD >>> assist.XPJ(46:0) Warning: Unknown suffix CONPUT >>> assist.XPJ(47:0) Warning: Unknown suffix CONPPUT >>> assist.XPJ(48:0) Warning: Unknown suffix FUNCKEY >>> assist.XPJ(49:0) Warning: Unknown suffix ADJPUT >>> assist.XPJ(50:0) Warning: Unknown suffix RECREAD >>> assist.XPJ(51:0) Warning: Unknown suffix RECPUT >>> assist.XPJ(52:0) Warning: Unknown suffix CUSMAINT >>> assist.XPJ(53:0) Warning: Unknown suffix SUPMAINT >>> assist.XPJ(54:0) Warning: Unknown suffix FDAGENCY >>> assist.XPJ(55:0) Warning: Unknown suffix REGMAINT >>> assist.XPJ(56:0) Warning: Unknown suffix BNKMAINT >>> assist.XPJ(57:0) Warning: Unknown suffix REPMAINT >>> assist.XPJ(58:0) Warning: Unknown suffix PERIODIC >>> assist.XPJ(59:0) Warning: Unknown suffix CUSSCR >>> assist.XPJ(60:0) Warning: Unknown suffix ADDDPTC >>> assist.XPJ(61:0) Warning: Unknown suffix EDDPTC >>> assist.XPJ(62:0) Warning: Unknown suffix DELDPTC >>> assist.XPJ(63:0) Warning: Unknown suffix ADDDPT >>> assist.XPJ(64:0) Warning: Unknown suffix EDDPT >>> assist.XPJ(65:0) Warning: Unknown suffix DELDPT >>> assist.XPJ(66:0) Warning: Unknown suffix ADDDPT1 >>> assist.XPJ(67:0) Warning: Unknown suffix EDDPT1 >>> assist.XPJ(68:0) Warning: Unknown suffix DELDPT1 >>> assist.XPJ(69:0) Warning: Unknown suffix ADDDPT2 >>> assist.XPJ(70:0) Warning: Unknown suffix EDDPT2 >>> assist.XPJ(71:0) Warning: Unknown suffix DELDPT2 >>> assist.XPJ(72:0) Warning: Unknown suffix ADDDPT3 >>> assist.XPJ(73:0) Warning: Unknown suffix EDDPT3 >>> assist.XPJ(74:0) Warning: Unknown suffix DELDPT3 >>> assist.XPJ(75:0) Warning: Unknown suffix CLLIST >>> assist.XPJ(76:0) Warning: Unknown suffix SUPLIST >>> assist.XPJ(77:0) Warning: Unknown suffix CONLIST >>> assist.XPJ(78:0) Warning: Unknown suffix RECLIST >>> assist.XPJ(79:0) Warning: Unknown suffix INTLIST >>> assist.XPJ(80:0) Warning: Unknown suffix DUELIST >>> assist.XPJ(81:0) Warning: Unknown suffix PSTATUS >>> assist.XPJ(82:0) Warning: Unknown suffix CPMTAN >>> assist.XPJ(83:0) Warning: Unknown suffix NEWLOAN >>> assist.XPJ(84:0) Warning: Unknown suffix EXECSUMM >>> assist.XPJ(85:0) Warning: Unknown suffix STATMNT >>> assist.XPJ(86:0) Warning: Unknown suffix CHQDSB >>> assist.XPJ(87:0) Warning: Unknown suffix PROC_FEE >>> assist.XPJ(88:0) Warning: Unknown suffix DRCRREP >>> assist.XPJ(89:0) Warning: Unknown suffix PREREP >>> assist.XPJ(90:0) Warning: Unknown suffix NOTPD >>> assist.XPJ(91:0) Warning: Unknown suffix PERSCR >>> assist.XPJ(92:0) Warning: Unknown suffix XX >>> assist.XPJ(93:0) Warning: Unknown suffix CONSCR >>> assist.XPJ(94:0) Warning: Unknown suffix RECSCR >>> assist.XPJ(95:0) Warning: Unknown suffix CONPSCR >>> assist.XPJ(96:0) Warning: Unknown suffix INCALSCR >>> assist.XPJ(97:0) Warning: Unknown suffix TRANS1 >>> assist.XPJ(98:0) Warning: Unknown suffix TRANS2 >>> assist.XPJ(99:0) Warning: Unknown suffix CTSCR >>> assist.XPJ(100:0) Warning: Unknown suffix ADJSCR >>> assist.XPJ(101:0) Warning: Unknown suffix DISBSCR >>> assist.XPJ(102:0) Warning: Unknown suffix SAVSCR >>> assist.XPJ(103:0) Warning: Unknown suffix PRESCR >>> assist.XPJ(104:0) Warning: Unknown suffix RECSCR1 >>> assist.XPJ(105:0) Warning: Unknown suffix NOTPSCR >>> assist.XPJ(106:0) Warning: Unknown suffix NOTPSCR2 >>> assist.XPJ(107:0) Warning: Unknown suffix PRO_FEE >>> assist.XPJ(108:0) Warning: Unknown suffix PASS2 >>> assist.XPJ(109:0) Warning: Unknown suffix PASS3 >>> assist.XPJ(110:0) Warning: Unknown suffix APASS1 >>> assist.XPJ(111:0) Warning: Unknown suffix APASS3 >>> assist.XPJ(112:0) Warning: Unknown suffix MYCHOICE >>> assist.XPJ(113:0) Warning: Unknown suffix ADDCON >>> assist.XPJ(114:0) Warning: Unknown suffix EDCON >>> assist.XPJ(115:0) Warning: Unknown suffix DELCON >>> assist.XPJ(116:0) Warning: Unknown suffix ADDPCON >>> assist.XPJ(117:0) Warning: Unknown suffix ADDADJ >>> assist.XPJ(118:0) Warning: Unknown suffix ADDDISB >>> assist.XPJ(119:0) Warning: Unknown suffix EDDISB >>> assist.XPJ(120:0) Warning: Unknown suffix DELDISB >>> assist.XPJ(121:0) Warning: Unknown suffix CONUPDA >>> assist.XPJ(122:0) Warning: Unknown suffix AGEPROC >>> assist.XPJ(123:0) Warning: Unknown suffix ADJUPDA >>> assist.XPJ(124:0) Warning: Unknown suffix CONP >>> assist.XPJ(125:0) Warning: Unknown suffix DISUP >>> assist.XPJ(126:0) Warning: Unknown suffix PRNTREC >>> assist.XPJ(127:0) Warning: Unknown suffix ADDREC >>> assist.XPJ(128:0) Warning: Unknown suffix DELREC >>> assist.XPJ(129:0) Warning: Unknown suffix RECUPDA >>> assist.XPJ(130:0) Warning: Unknown suffix SAVREP >>> assist.XPJ(131:0) Warning: Unknown suffix XX_PROC_ >>> xpp /m /v /p /b /rxppui2.lib /b /dDEBUG >>> @C:\DOCUME~1\herbert\LOCALS~1\Temp\08029 >>> 945.tmp >>> Xbase++ (R) Compiler 1.82.294 Mar 24 2003 >>> Copyright (c) Alaska Software. All rights reserved. >>> File: MAIN.PRG Line: 448 >>> File MAIN.PRG successfully compiled. >>> >>> alink @C:\DOCUME~1\herbert\LOCALS~1\Temp\08020173.tmp >>> Alaska 32-Bit Linker Version 1.82.294 >>> Copyright (c) Alaska Software 1997-2003. All rights reserved. >>> >>> MAIN.obj: error ALK2102: unresolved external symbol __KILLREAD >>> MAIN.obj: error ALK2102: unresolved external symbol __SETCENTU >>> MAIN.obj: error ALK2102: unresolved external symbol __MRESTORE >>> MAIN.obj: error ALK2102: unresolved external symbol __MSAVE >>> MAIN.obj: error ALK2102: unresolved external symbol PASS1 >>> MAIN.obj: error ALK2102: unresolved external symbol SCR1 >>> MAIN.obj: error ALK2102: unresolved external symbol UTILMNT >>> MAIN.obj: error ALK2102: unresolved external symbol DATEGET >>> MAIN.obj: error ALK2102: unresolved external symbol LOGO >>> MAIN.obj: error ALK2102: unresolved external symbol USE_FILE >>> MAIN.obj: error ALK2102: unresolved external symbol TMENU >>> MAIN.obj: error ALK2102: unresolved external symbol BOT1 >>> MAIN.obj: error ALK2102: unresolved external symbol PREJECT >>> MAIN.obj: error ALK2102: unresolved external symbol CONTSHOW >>> MAIN.obj: error ALK2102: unresolved external symbol __ATPROMPT >>> MAIN.obj: error ALK2102: unresolved external symbol __KEYBOARD >>> MAIN.obj: error ALK2102: unresolved external symbol __MENUTO >>> MAIN.obj: error ALK2102: unresolved external symbol ESCCHK >>> MAIN.obj: error ALK2102: unresolved external symbol SYSEXIT >>> MAIN.obj: error ALK2102: unresolved external symbol __QUIT >>> MAIN.obj: error ALK2102: unresolved external symbol BOXPUT >>> MAIN.obj: error ALK2102: unresolved external symbol MENU3 >>> C:\ALASKA\XPPW32\LIB\XPPRT0.LIB(.\objsWN.coff\coffSysMap.obj): error >>> ALK2102: un >>> resolved external symbol MAIN >>> ALINK: fatal error ALK4102: 23 external symbols unresolved >>> >>> 'alink @C:\DOCUME~1\herbert\LOCALS~1\Temp\08020173.tmp' returned error >>> 1 >>> Processing time: 4.61 secs. >>> >>> E:\zt> >>> >>> >>> "mark carew" <markcarew@magicwanddept.com.au> wrote in message >>> news:19ojnl7j0zhlj.1b0skoegaj6ks$.dlg@40tude.net... >>>> Hi hERBERT. >>>> >>>> >>>> On Wed, 2 Aug 2006 09:00:31 +0200, hERBERT ZIMBIZI wrote: >>>> >>>>> I am trying to migrate a legacy application that I inherited from >>>>> noone. >>>> Apparently I have had to learn the hard way with clipper 5e as I had to >>>> learn it from scratch with no help from anyone. I managed to decompile >>>> the >>>> software and now have the code. Through the changes I made I have >>>> learned >>>> so much on clipper. Now my problem is Iam trying to migrate to Xbase++. >>>> the >>>> decompiled program has UDF files and 1 rmk and 1 lnk file. To recompile >>>> it >>>> I issue the command rmake programfile. I cant seem to figure out how to >>>> the >>>> compile the same source code using xbase++. I have gone through the >>>> whole >>>> news items but noone seems to have answered the question. Can anyone >>>> assist. >>>> >>>> >>>> ------------- >>>> In Dos >>>> --------------- >>>> dir *.prg /b > project.xpj >>>> --------------- >>>> Add the following lines to the project.xpj file >>>> --------------- >>>> >>>> //// Project - Definition - File created by PBUILD Version 1.0 >>>> Date: 17/09/99 Time: 09:16:18 >>>> COMPILE_FLAGS = /b /q /p /w /wi /wl /wu /v /rxppui2.lib >>>> COMPILE_FLAGS = /b /q /p /w /v /rxppui2.lib >>>> >>>> >>>> [PROJECT] >>>> COMPILE = xpp >>>> COMPILE_FLAGS = /b /q /p /w /v /rxppui2.lib >>>> COMPILE_FLAGS = /m /v /p /b /rxppui2.lib >>>> DEBUG = YES >>>> GUI = YES >>>> LINKER = alink >>>> RC_COMPILE = arc >>>> RC_FLAGS = /v >>>> PROJECT.XPJ >>>> >>>> [PROJECT.XPJ] >>>> MYFIRST.EXE >>>> >>>> [MYFIRST.EXE] >>>> PROG1.PRG -------------------- >>>> prog1a.prg add the prg list here >>>> PROG2.PRG like this >>>> ---------------- >>>> Now you have the equivalent of a .rmk file (make file) so that you can >>>> issue a PBUILD to hopefully create an exe file >>>> --------------- >>>> >>>> You will need to have one .prg that is the entry point for the system. >>>> That >>>> is >>>> -------------- >>>> procedure main >>>> >>>> set date british >>>> do stuff >>>> quit >>>> return >>>> >>>> >>>> Now read the getting started in the help files. You should find then in >>>> c:\alaska\xppw32\book or in your start - program menu. Look xBase++ >>>> Documentation, Contents, Programming Tools, Project Builder (pbuild) >>>> >>>> Why don't you show us your .rmk and .lnk files and we will be able to >>>> help >>>> if you get stuck. BTW. We don't have a noone in this news group. >>>> >>>> Happy Hunting >>>> Mark >>> > > | |
hERBERT ZIMBIZI | Re: Migrating from clipper 5e on Thu, 03 Aug 2006 09:10:03 +0200 I will try to change all low level functions to higher level in clipper 5e. Then after this probably try the conversion. Thank you man. "James Loughner" <jwrl@charter.net> wrote in message news:494ae6b8$277ac09f$b25b3@news.alaska-software.com... > Anything starting with an underscore is a low level function that may > not have an exact matching function in Xbase++ They all have higher > level equivalents which are the same in both. > > Jim > > hERBERT ZIMBIZI wrote: >> Are you saying that these commands that start with an underscore are not >> higher level syntax or that they have higherlevel equivalents. It would >> seem >> that most of these are documented on clipper 5e. Some of them I have >> found >> ways of replacing them but others are headache. But then on the other >> hand >> it would seem that I have I might have to rewrite the program in Xbase++. >> >> Regards >> >> >> "James Loughner" <jwrl@charter.net> wrote in message >> news:383e9397$2e352e90$b192d@news.alaska-software.com... >>> I think the problem is that you are using decompiled source. It has lost >>> the higher level syntax and you are seeing only the lower level stuff >>> and that is different in Xbase++ then Clipper. >>> >>> Jim >>> >>> hERBERT ZIMBIZI wrote: >>>> Thank you man I have attached the files and I have done as you have >>>> advised >>>> seems I have a mammoth task here because it looks like there is a good >>>> number of unsupport functions like _get >>>> here is a screen dump >>>> >>>> Microsoft Windows [Version 5.2.3790] >>>> (C) Copyright 1985-2003 Microsoft Corp. >>>> >>>> C:\Documents and Settings\herbert>e: >>>> >>>> E:\>cd zt >>>> >>>> E:\zt>pbuild assist >>>> Xbase++ (R) ProjectBuilder Version 1.82.294 >>>> Copyright (c) Alaska Software 1997-2003. All rights reserved. >>>> assist.XPJ(23:0) Warning: Unknown suffix ERRORSYS >>>> assist.XPJ(24:0) Warning: Unknown suffix GETSYS >>>> assist.XPJ(25:0) Warning: Unknown suffix pASS1 >>>> assist.XPJ(26:0) Warning: Unknown suffix LIB >>>> assist.XPJ(27:0) Warning: Unknown suffix MENU3 >>>> assist.XPJ(28:0) Warning: Unknown suffix rESORT >>>> assist.XPJ(29:0) Warning: Unknown suffix CO_NAME >>>> assist.XPJ(30:0) Warning: Unknown suffix BOXSCR >>>> assist.XPJ(31:0) Warning: Unknown suffix H2_1_1 >>>> assist.XPJ(32:0) Warning: Unknown suffix CONDO >>>> assist.XPJ(33:0) Warning: Unknown suffix H2_1_2 >>>> assist.XPJ(34:0) Warning: Unknown suffix CONPROF >>>> assist.XPJ(35:0) Warning: Unknown suffix ADJUST >>>> assist.XPJ(36:0) Warning: Unknown suffix H2_1_4 >>>> assist.XPJ(37:0) Warning: Unknown suffix DISB >>>> assist.XPJ(38:0) Warning: Unknown suffix H3_1 >>>> assist.XPJ(39:0) Warning: Unknown suffix RECADD >>>> assist.XPJ(40:0) Warning: Unknown suffix H4_1 >>>> assist.XPJ(41:0) Warning: Unknown suffix INTCAL >>>> assist.XPJ(42:0) Warning: Unknown suffix SR >>>> assist.XPJ(43:0) Warning: Unknown suffix ARCH >>>> assist.XPJ(44:0) Warning: Unknown suffix DPTPUTC >>>> assist.XPJ(45:0) Warning: Unknown suffix CONREAD >>>> assist.XPJ(46:0) Warning: Unknown suffix CONPUT >>>> assist.XPJ(47:0) Warning: Unknown suffix CONPPUT >>>> assist.XPJ(48:0) Warning: Unknown suffix FUNCKEY >>>> assist.XPJ(49:0) Warning: Unknown suffix ADJPUT >>>> assist.XPJ(50:0) Warning: Unknown suffix RECREAD >>>> assist.XPJ(51:0) Warning: Unknown suffix RECPUT >>>> assist.XPJ(52:0) Warning: Unknown suffix CUSMAINT >>>> assist.XPJ(53:0) Warning: Unknown suffix SUPMAINT >>>> assist.XPJ(54:0) Warning: Unknown suffix FDAGENCY >>>> assist.XPJ(55:0) Warning: Unknown suffix REGMAINT >>>> assist.XPJ(56:0) Warning: Unknown suffix BNKMAINT >>>> assist.XPJ(57:0) Warning: Unknown suffix REPMAINT >>>> assist.XPJ(58:0) Warning: Unknown suffix PERIODIC >>>> assist.XPJ(59:0) Warning: Unknown suffix CUSSCR >>>> assist.XPJ(60:0) Warning: Unknown suffix ADDDPTC >>>> assist.XPJ(61:0) Warning: Unknown suffix EDDPTC >>>> assist.XPJ(62:0) Warning: Unknown suffix DELDPTC >>>> assist.XPJ(63:0) Warning: Unknown suffix ADDDPT >>>> assist.XPJ(64:0) Warning: Unknown suffix EDDPT >>>> assist.XPJ(65:0) Warning: Unknown suffix DELDPT >>>> assist.XPJ(66:0) Warning: Unknown suffix ADDDPT1 >>>> assist.XPJ(67:0) Warning: Unknown suffix EDDPT1 >>>> assist.XPJ(68:0) Warning: Unknown suffix DELDPT1 >>>> assist.XPJ(69:0) Warning: Unknown suffix ADDDPT2 >>>> assist.XPJ(70:0) Warning: Unknown suffix EDDPT2 >>>> assist.XPJ(71:0) Warning: Unknown suffix DELDPT2 >>>> assist.XPJ(72:0) Warning: Unknown suffix ADDDPT3 >>>> assist.XPJ(73:0) Warning: Unknown suffix EDDPT3 >>>> assist.XPJ(74:0) Warning: Unknown suffix DELDPT3 >>>> assist.XPJ(75:0) Warning: Unknown suffix CLLIST >>>> assist.XPJ(76:0) Warning: Unknown suffix SUPLIST >>>> assist.XPJ(77:0) Warning: Unknown suffix CONLIST >>>> assist.XPJ(78:0) Warning: Unknown suffix RECLIST >>>> assist.XPJ(79:0) Warning: Unknown suffix INTLIST >>>> assist.XPJ(80:0) Warning: Unknown suffix DUELIST >>>> assist.XPJ(81:0) Warning: Unknown suffix PSTATUS >>>> assist.XPJ(82:0) Warning: Unknown suffix CPMTAN >>>> assist.XPJ(83:0) Warning: Unknown suffix NEWLOAN >>>> assist.XPJ(84:0) Warning: Unknown suffix EXECSUMM >>>> assist.XPJ(85:0) Warning: Unknown suffix STATMNT >>>> assist.XPJ(86:0) Warning: Unknown suffix CHQDSB >>>> assist.XPJ(87:0) Warning: Unknown suffix PROC_FEE >>>> assist.XPJ(88:0) Warning: Unknown suffix DRCRREP >>>> assist.XPJ(89:0) Warning: Unknown suffix PREREP >>>> assist.XPJ(90:0) Warning: Unknown suffix NOTPD >>>> assist.XPJ(91:0) Warning: Unknown suffix PERSCR >>>> assist.XPJ(92:0) Warning: Unknown suffix XX >>>> assist.XPJ(93:0) Warning: Unknown suffix CONSCR >>>> assist.XPJ(94:0) Warning: Unknown suffix RECSCR >>>> assist.XPJ(95:0) Warning: Unknown suffix CONPSCR >>>> assist.XPJ(96:0) Warning: Unknown suffix INCALSCR >>>> assist.XPJ(97:0) Warning: Unknown suffix TRANS1 >>>> assist.XPJ(98:0) Warning: Unknown suffix TRANS2 >>>> assist.XPJ(99:0) Warning: Unknown suffix CTSCR >>>> assist.XPJ(100:0) Warning: Unknown suffix ADJSCR >>>> assist.XPJ(101:0) Warning: Unknown suffix DISBSCR >>>> assist.XPJ(102:0) Warning: Unknown suffix SAVSCR >>>> assist.XPJ(103:0) Warning: Unknown suffix PRESCR >>>> assist.XPJ(104:0) Warning: Unknown suffix RECSCR1 >>>> assist.XPJ(105:0) Warning: Unknown suffix NOTPSCR >>>> assist.XPJ(106:0) Warning: Unknown suffix NOTPSCR2 >>>> assist.XPJ(107:0) Warning: Unknown suffix PRO_FEE >>>> assist.XPJ(108:0) Warning: Unknown suffix PASS2 >>>> assist.XPJ(109:0) Warning: Unknown suffix PASS3 >>>> assist.XPJ(110:0) Warning: Unknown suffix APASS1 >>>> assist.XPJ(111:0) Warning: Unknown suffix APASS3 >>>> assist.XPJ(112:0) Warning: Unknown suffix MYCHOICE >>>> assist.XPJ(113:0) Warning: Unknown suffix ADDCON >>>> assist.XPJ(114:0) Warning: Unknown suffix EDCON >>>> assist.XPJ(115:0) Warning: Unknown suffix DELCON >>>> assist.XPJ(116:0) Warning: Unknown suffix ADDPCON >>>> assist.XPJ(117:0) Warning: Unknown suffix ADDADJ >>>> assist.XPJ(118:0) Warning: Unknown suffix ADDDISB >>>> assist.XPJ(119:0) Warning: Unknown suffix EDDISB >>>> assist.XPJ(120:0) Warning: Unknown suffix DELDISB >>>> assist.XPJ(121:0) Warning: Unknown suffix CONUPDA >>>> assist.XPJ(122:0) Warning: Unknown suffix AGEPROC >>>> assist.XPJ(123:0) Warning: Unknown suffix ADJUPDA >>>> assist.XPJ(124:0) Warning: Unknown suffix CONP >>>> assist.XPJ(125:0) Warning: Unknown suffix DISUP >>>> assist.XPJ(126:0) Warning: Unknown suffix PRNTREC >>>> assist.XPJ(127:0) Warning: Unknown suffix ADDREC >>>> assist.XPJ(128:0) Warning: Unknown suffix DELREC >>>> assist.XPJ(129:0) Warning: Unknown suffix RECUPDA >>>> assist.XPJ(130:0) Warning: Unknown suffix SAVREP >>>> assist.XPJ(131:0) Warning: Unknown suffix XX_PROC_ >>>> xpp /m /v /p /b /rxppui2.lib /b /dDEBUG >>>> @C:\DOCUME~1\herbert\LOCALS~1\Temp\08029 >>>> 945.tmp >>>> Xbase++ (R) Compiler 1.82.294 Mar 24 2003 >>>> Copyright (c) Alaska Software. All rights reserved. >>>> File: MAIN.PRG Line: 448 >>>> File MAIN.PRG successfully compiled. >>>> >>>> alink @C:\DOCUME~1\herbert\LOCALS~1\Temp\08020173.tmp >>>> Alaska 32-Bit Linker Version 1.82.294 >>>> Copyright (c) Alaska Software 1997-2003. All rights reserved. >>>> >>>> MAIN.obj: error ALK2102: unresolved external symbol __KILLREAD >>>> MAIN.obj: error ALK2102: unresolved external symbol __SETCENTU >>>> MAIN.obj: error ALK2102: unresolved external symbol __MRESTORE >>>> MAIN.obj: error ALK2102: unresolved external symbol __MSAVE >>>> MAIN.obj: error ALK2102: unresolved external symbol PASS1 >>>> MAIN.obj: error ALK2102: unresolved external symbol SCR1 >>>> MAIN.obj: error ALK2102: unresolved external symbol UTILMNT >>>> MAIN.obj: error ALK2102: unresolved external symbol DATEGET >>>> MAIN.obj: error ALK2102: unresolved external symbol LOGO >>>> MAIN.obj: error ALK2102: unresolved external symbol USE_FILE >>>> MAIN.obj: error ALK2102: unresolved external symbol TMENU >>>> MAIN.obj: error ALK2102: unresolved external symbol BOT1 >>>> MAIN.obj: error ALK2102: unresolved external symbol PREJECT >>>> MAIN.obj: error ALK2102: unresolved external symbol CONTSHOW >>>> MAIN.obj: error ALK2102: unresolved external symbol __ATPROMPT >>>> MAIN.obj: error ALK2102: unresolved external symbol __KEYBOARD >>>> MAIN.obj: error ALK2102: unresolved external symbol __MENUTO >>>> MAIN.obj: error ALK2102: unresolved external symbol ESCCHK >>>> MAIN.obj: error ALK2102: unresolved external symbol SYSEXIT >>>> MAIN.obj: error ALK2102: unresolved external symbol __QUIT >>>> MAIN.obj: error ALK2102: unresolved external symbol BOXPUT >>>> MAIN.obj: error ALK2102: unresolved external symbol MENU3 >>>> C:\ALASKA\XPPW32\LIB\XPPRT0.LIB(.\objsWN.coff\coffSysMap.obj): error >>>> ALK2102: un >>>> resolved external symbol MAIN >>>> ALINK: fatal error ALK4102: 23 external symbols unresolved >>>> >>>> 'alink @C:\DOCUME~1\herbert\LOCALS~1\Temp\08020173.tmp' returned error >>>> 1 >>>> Processing time: 4.61 secs. >>>> >>>> E:\zt> >>>> >>>> >>>> "mark carew" <markcarew@magicwanddept.com.au> wrote in message >>>> news:19ojnl7j0zhlj.1b0skoegaj6ks$.dlg@40tude.net... >>>>> Hi hERBERT. >>>>> >>>>> >>>>> On Wed, 2 Aug 2006 09:00:31 +0200, hERBERT ZIMBIZI wrote: >>>>> >>>>>> I am trying to migrate a legacy application that I inherited from >>>>>> noone. >>>>> Apparently I have had to learn the hard way with clipper 5e as I had >>>>> to >>>>> learn it from scratch with no help from anyone. I managed to decompile >>>>> the >>>>> software and now have the code. Through the changes I made I have >>>>> learned >>>>> so much on clipper. Now my problem is Iam trying to migrate to >>>>> Xbase++. >>>>> the >>>>> decompiled program has UDF files and 1 rmk and 1 lnk file. To >>>>> recompile >>>>> it >>>>> I issue the command rmake programfile. I cant seem to figure out how >>>>> to >>>>> the >>>>> compile the same source code using xbase++. I have gone through the >>>>> whole >>>>> news items but noone seems to have answered the question. Can anyone >>>>> assist. >>>>> >>>>> >>>>> ------------- >>>>> In Dos >>>>> --------------- >>>>> dir *.prg /b > project.xpj >>>>> --------------- >>>>> Add the following lines to the project.xpj file >>>>> --------------- >>>>> >>>>> //// Project - Definition - File created by PBUILD Version 1.0 >>>>> Date: 17/09/99 Time: 09:16:18 >>>>> COMPILE_FLAGS = /b /q /p /w /wi /wl /wu /v /rxppui2.lib >>>>> COMPILE_FLAGS = /b /q /p /w /v /rxppui2.lib >>>>> >>>>> >>>>> [PROJECT] >>>>> COMPILE = xpp >>>>> COMPILE_FLAGS = /b /q /p /w /v /rxppui2.lib >>>>> COMPILE_FLAGS = /m /v /p /b /rxppui2.lib >>>>> DEBUG = YES >>>>> GUI = YES >>>>> LINKER = alink >>>>> RC_COMPILE = arc >>>>> RC_FLAGS = /v >>>>> PROJECT.XPJ >>>>> >>>>> [PROJECT.XPJ] >>>>> MYFIRST.EXE >>>>> >>>>> [MYFIRST.EXE] >>>>> PROG1.PRG -------------------- >>>>> prog1a.prg add the prg list here >>>>> PROG2.PRG like this >>>>> ---------------- >>>>> Now you have the equivalent of a .rmk file (make file) so that you can >>>>> issue a PBUILD to hopefully create an exe file >>>>> --------------- >>>>> >>>>> You will need to have one .prg that is the entry point for the system. >>>>> That >>>>> is >>>>> -------------- >>>>> procedure main >>>>> >>>>> set date british >>>>> do stuff >>>>> quit >>>>> return >>>>> >>>>> >>>>> Now read the getting started in the help files. You should find then >>>>> in >>>>> c:\alaska\xppw32\book or in your start - program menu. Look xBase++ >>>>> Documentation, Contents, Programming Tools, Project Builder (pbuild) >>>>> >>>>> Why don't you show us your .rmk and .lnk files and we will be able to >>>>> help >>>>> if you get stuck. BTW. We don't have a noone in this news group. >>>>> >>>>> Happy Hunting >>>>> Mark >>>> >> >> | |
AUGE_OHR | Re: Migrating from clipper 5e on Wed, 02 Aug 2006 19:26:08 +0200 hi, > > Now my problem is Iam trying to migrate to Xbase++. the > > decompiled program has UDF files and 1 rmk and 1 lnk file. ... > Thank you man I have attached the files and I have done as you have advised > seems I have a mammoth task here because it looks like there is a good > number of unsupport functions like _get it seems your are not the owner of the Source, else you shoud have more Information about the original Source. Cl*pper, Xbase++ "normal" Extension is *.PRG, so you get a "Warning" assist.XPJ(23:0) Warning: Unknown suffix XXXXX while i have not seen your "decompiled" code : it seem some sort of PPO Code and you need to "rewrite" it. not shur but i think Xbase++ does not know __KILLREAD, but KILLREAD(). all "unresolved external symbol" with "__" at the beginning are Cl*pper an shoud be replace by "normal" Function. other "unresolved external symbol" are while just MAIN.PRG have been compiled and you have only 1 *.OBJ (you shoud have for each *.PRG a *.OBJ) last but not least : Did the "original" Application use 3st party LIBs ? it "seems" you need "Funky" and "CTTools" too ... greetings by OHR Jimmy | |
hERBERT ZIMBIZI | Re: Migrating from clipper 5e on Thu, 03 Aug 2006 09:46:37 +0200 hi, Iam not the original owner. The program was written in 1992 by some Jamaican Company that has since folded.Up until now my company used this software as is because they could not change anything since they did not have the source code. I have learned the system afer decompiling the software. I dont have any third party tools. "AUGE_OHR" <AUGE_OHR*AT*CSI.COM> wrote in message news:5c21a371$6fbd706$b1b79@news.alaska-software.com... > hi, > >> > Now my problem is Iam trying to migrate to Xbase++. the >> > decompiled program has UDF files and 1 rmk and 1 lnk file. > ... >> Thank you man I have attached the files and I have done as you have > advised >> seems I have a mammoth task here because it looks like there is a good >> number of unsupport functions like _get > > it seems your are not the owner of the Source, else you shoud have more > Information about the original Source. > > Cl*pper, Xbase++ "normal" Extension is *.PRG, so you get a "Warning" > assist.XPJ(23:0) Warning: Unknown suffix XXXXX > > while i have not seen your "decompiled" code : it seem some sort of PPO > Code > and you need to "rewrite" it. not shur but i think Xbase++ does not know > __KILLREAD, but KILLREAD(). all "unresolved external symbol" with "__" > at the beginning are Cl*pper an shoud be replace by "normal" Function. > > other "unresolved external symbol" are while just MAIN.PRG have been > compiled and you have only 1 *.OBJ (you shoud have for each *.PRG a *.OBJ) > > last but not least : Did the "original" Application use 3st party LIBs ? > it > "seems" > you need "Funky" and "CTTools" too ... > > greetings by OHR > Jimmy > > | |
mark carew | Re: Migrating from clipper 5e on Thu, 03 Aug 2006 07:00:51 +1000 Hi Herbert, Next step Take each prg and place its name at the beginning as a function. e.g. If you have a prg called cusmaint and your program somewhere calls it like "do custmaint" then place "function custmaint" before the lead in code and place a return nil at the end for this lead in code before any other function or procedure in that cusmaint prg file. e.g. for cusmaint.prg ------------------------------------------- --- existing code /* comments */ myvar="z" thatnumb=90 procedure blah .... return function bloh .... return nil ----------------------------------------------- ----- new code function cusmaint(...,...,...) myvar="z" thatnumb=90 return procedure blah .... return function bloh .... return nil See if this starts to eliminate some of the errors you are getting. I have written a complete rtf gui replacement for cltext. You will have to deal with the funcky functions by either using xbtools or write them yourself. Do you have the professional subscription or the foundation subscription? HTH Mark | |
hERBERT ZIMBIZI | Re: Migrating from clipper 5e on Thu, 03 Aug 2006 09:54:16 +0200 hie Mark, From your initial advice I have since had to rewrite a good number of the procedures and functions and its coming out fine. I am now just trying looking for equivalents for some of the lowlevel functions before I continue with conversion. But You have given the jumpstart I needed. I have stripped from my program all the problematic functions and I can run the program excluding those functions that need rewriting. "mark carew" <markcarew@magicwanddept.com.au> wrote in message news:evfwnj2e3jvu$.1jomvfjawuipn.dlg@40tude.net... > Hi Herbert, > > Next step > > Take each prg and place its name at the beginning as a function. e.g. If > you have a prg called cusmaint and your program somewhere calls it like > "do > custmaint" then place "function custmaint" before the lead in code and > place a return nil at the end for this lead in code before any other > function or procedure in that cusmaint prg file. > > e.g. for cusmaint.prg > ------------------------------------------- > --- existing code > /* comments */ > myvar="z" > thatnumb=90 > > procedure blah > .... > return > function bloh > .... > return nil > > > ----------------------------------------------- > ----- new code > > function cusmaint(...,...,...) > myvar="z" > thatnumb=90 > return > > procedure blah > .... > return > function bloh > .... > return nil > > > See if this starts to eliminate some of the errors you are getting. I have > written a complete rtf gui replacement for cltext. You will have to deal > with the funcky functions by either using xbtools or write them yourself. > > Do you have the professional subscription or the foundation subscription? > > HTH > Mark | |
mark carew | Re: Migrating from clipper 5e on Fri, 04 Aug 2006 05:32:16 +1000 Hi Herbert, Next you could try. Searching for any unresolved symbols in the include files in your clipper include folder to get the equivalent xBase++ command that is not being resolved. Then hunt for the same command in your xBase++ documentation or xBase++ include files. Regards Mark | |
hERBERT ZIMBIZI | Re: Migrating from clipper 5e on Fri, 04 Aug 2006 12:49:33 +0200 Thank you Mark I have managed to get rid of all of the low level commands shown in earlier post and the program is now compiling but develops a funny error below.I recon this file does not have an error as it compiles on Clipper 5e unless I missing something here. File: DELREC.PRG Line: 324 DELREC.PRG(180:0): error XBT0226: OTHERWISE does not match DO CASE 1 error(s) found in file DELREC.PRG! "mark carew" <markcarew@magicwanddept.com.au> wrote in message news:11ebp01v87aeq.hg6yqsm9k2gr$.dlg@40tude.net... > Hi Herbert, > > Next you could try. > Searching for any unresolved symbols in the include files in your clipper > include folder to get the equivalent xBase++ command that is not being > resolved. Then hunt for the same command in your xBase++ documentation or > xBase++ include files. > > Regards > Mark | |
mark carew | Re: Migrating from clipper 5e on Sun, 06 Aug 2006 10:17:30 +1000 Hi Herbert, The code for del rec around te case statement would be helpful. But clipper will let through extra unneeded endifs and case statements. e.g. I have seen like if .... elseif endif endif compile fine in clipper but --- as xBase++ is actually a stronger compiler than 5.2e, it will throw an error with the above code which is obviously in error. Show us the case statement if you can. Regards Mark On Fri, 04 Aug 2006 12:49:33 +0200, hERBERT ZIMBIZI wrote: > Thank you Mark I have managed to get rid of all of the low level commands > shown in earlier post and the program is now compiling but develops a funny > error below.I recon this file does not have an error as it compiles on > Clipper 5e unless I missing something here. > > File: DELREC.PRG Line: 324 > DELREC.PRG(180:0): error XBT0226: OTHERWISE does not match DO CASE > 1 error(s) found in file DELREC.PRG! > > "mark carew" <markcarew@magicwanddept.com.au> wrote in message > news:11ebp01v87aeq.hg6yqsm9k2gr$.dlg@40tude.net... >> Hi Herbert, >> >> Next you could try. >> Searching for any unresolved symbols in the include files in your clipper >> include folder to get the equivalent xBase++ command that is not being >> resolved. Then hunt for the same command in your xBase++ documentation or >> xBase++ include files. >> >> Regards >> Mark | |
hERBERT ZIMBIZI | Re: Migrating from clipper 5e on Fri, 04 Aug 2006 13:27:14 +0200 Going through this news group I also stumbled upon an earlier post which was talking about a custom getsys.prg I have found out that I had actually seen ths file on my computer. I commented out the two files giving problems in order to progress with all other issues. The new error that seems to come up is duplicate getsys. What do I do with itshas got other custom procs and functions "mark carew" <markcarew@magicwanddept.com.au> wrote in message news:11ebp01v87aeq.hg6yqsm9k2gr$.dlg@40tude.net... > Hi Herbert, > > Next you could try. > Searching for any unresolved symbols in the include files in your clipper > include folder to get the equivalent xBase++ command that is not being > resolved. Then hunt for the same command in your xBase++ documentation or > xBase++ include files. > > Regards > Mark | |
Roger Donnay | Re: Migrating from clipper 5e on Wed, 02 Aug 2006 13:15:32 -0600 | |
hERBERT ZIMBIZI | Re: Migrating from clipper 5e on Thu, 03 Aug 2006 09:56:58 +0200 Idid the decompilation last year and since then I have made such changes to the system successfully. I can recompile at any time now. or even decompile the new executable without hassles. "Roger Donnay" <rogerdonnay@donnay-software.com> wrote in message news:6129db53$103f14c6$b1ce2@news.alaska-software.com... Have you been successful in recompiling the application in Clipper (using the source from the decompiler) ? "hERBERT ZIMBIZI" <herbert@afdis.co.zw> wrote in message news:30187337$2a515f19$a7bc9@news.alaska-software.com... I am trying to migrate a legacy application that I inherited from noone.Apparently I have had to learn the hard way with clipper 5e as I had to learn it from scratch with no help from anyone. I managed to decompile the software and now have the code. Through the changes I made I have learned so much on clipper. Now my problem is Iam trying to migrate to Xbase++. the decompiled program has UDF files and 1 rmk and 1 lnk file. To recompile it I issue the command rmake programfile. I cant seem to figure out how to the compile thesame source code using xbase++. I have gone through the whole news items but noone seems to have answered the question. Can anyone assist. | |
Roger Donnay | Re: Migrating from clipper 5e on Thu, 03 Aug 2006 09:08:09 -0600 If you can compile and link an EXE in Clipper, then there is no reason why it will not compile and link in Xbase++. I don't understand why you have so many missing symbols. If you don't mind zipping up the source, I'll give it a try. "hERBERT ZIMBIZI" <herbert@afdis.co.zw> wrote in message news:4022e90f$3e9fc0a$b2600@news.alaska-software.com... > Idid the decompilation last year and since then I have made such changes > to the system successfully. I can recompile at any time now. or even > decompile the new executable without hassles. > > > > "Roger Donnay" <rogerdonnay@donnay-software.com> wrote in message > news:6129db53$103f14c6$b1ce2@news.alaska-software.com... > Have you been successful in recompiling the application in Clipper (using > the source from the decompiler) ? > "hERBERT ZIMBIZI" <herbert@afdis.co.zw> wrote in message > news:30187337$2a515f19$a7bc9@news.alaska-software.com... > I am trying to migrate a legacy application that I inherited from > noone.Apparently I have had to learn the hard way with clipper 5e as I had > to learn it from scratch with no help from anyone. I managed to decompile > the software and now have the code. Through the changes I made I have > learned so much on clipper. Now my problem is Iam trying to migrate to > Xbase++. the decompiled program has UDF files and 1 rmk and 1 lnk file. To > recompile it I issue the command rmake programfile. I cant seem to figure > out how to the compile thesame source code using xbase++. I have gone > through the whole news items but noone seems to have answered the > question. Can anyone assist. > | |
AUGE_OHR | Re: Migrating from clipper 5e on Thu, 03 Aug 2006 18:07:57 +0200 hi, > If you can compile and link an EXE in Clipper, then there is no reason why > it will not compile and link in Xbase++. decompile Code ofter are PPO Code and you did not have equivalent in Xbase++ example __BOX(x1,y1,x2,y2) -> Error Xbase++ (... it is DispBox() ) greetings by OHR Jimmy |