C:\fwh\samples\account Problem

C:\fwh\samples\account Problem

Postby Jimmy » Sat Jan 04, 2020 6:15 am

hi,

i have change in go.bat and account.mak to C:\BCC7 and c:\harbour\lib\win\bcc

C:\fwh\samples\account>go
C:\fwh\samples\account>if not exist obj md obj
C:\fwh\samples\account>c:\bcc7\bin\make -faccount.mak
MAKE Version 5.41 Copyright (c) 1987, 2014 Embarcadero Technologies, Inc.
echo off
echo c:\bcc7\lib\c0w32.obj + > b32.bc
echo obj\ejemcont.obj obj\contabil.obj obj\mntotel.obj, + >> b32.bc
echo ejemcont.exe, + >> b32.bc
echo ejemcont.map, + >> b32.bc
echo .\..\..\lib\FiveH.lib .\..\..\lib\FiveHC.lib + >> b32.bc
echo c:\harbour\lib\win\bcc\hbrtl.lib + >> b32.bc
echo c:\harbour\lib\win\bcc\hbvm.lib + >> b32.bc
echo c:\harbour\lib\win\bcc\gtgui.lib + >> b32.bc
echo c:\harbour\lib\win\bcc\hblang.lib + >> b32.bc
echo c:\harbour\lib\win\bcc\hbmacro.lib + >> b32.bc
echo c:\harbour\lib\win\bcc\hbrdd.lib + >> b32.bc
echo c:\harbour\lib\win\bcc\rddntx.lib + >> b32.bc
echo c:\harbour\lib\win\bcc\rddcdx.lib + >> b32.bc
echo c:\harbour\lib\win\bcc\rddfpt.lib + >> b32.bc
echo c:\harbour\lib\win\bcc\hbsix.lib + >> b32.bc
echo c:\harbour\lib\win\bcc\hbdebug.lib + >> b32.bc
echo c:\harbour\lib\win\bcc\hbcommon.lib + >> b32.bc
echo c:\harbour\lib\win\bcc\hbpp.lib + >> b32.bc
echo c:\harbour\lib\win\bcc\hbwin.lib + >> b32.bc
echo c:\harbour\lib\win\bcc\hbcpage.lib + >> b32.bc
echo c:\harbour\lib\win\bcc\hbct.lib + >> b32.bc
echo c:\harbour\lib\win\bcc\hbpcre.lib + >> b32.bc
echo c:\harbour\lib\win\bcc\hbcplr.lib + >> b32.bc
echo c:\harbour\lib\win\bcc\xhb.lib + >> b32.bc
echo c:\bcc7\lib\cw32.lib + >> b32.bc
echo c:\bcc7\lib\import32.lib + >> b32.bc
echo c:\bcc7\lib\psdk\odbc32.lib + >> b32.bc
echo c:\bcc7\lib\psdk\nddeapi.lib + >> b32.bc
echo c:\bcc7\lib\psdk\iphlpapi.lib + >> b32.bc
echo c:\bcc7\lib\psdk\msimg32.lib + >> b32.bc
echo c:\bcc7\lib\psdk\psapi.lib + >> b32.bc
echo c:\bcc7\lib\psdk\rasapi32.lib, >> b32.bc
IF EXIST account.res echo account.res >> b32.bc
c:\bcc7\bin\ilink32 -Gn -aa -Tpe -s @b32.bc
Turbo Incremental Link 6.70 Copyright (c) 1997-2014 Embarcadero Technologies, Inc.
Error: Unresolved external 'SHGetImageList' referenced from C:\FWH\LIB\FIVEHC.LIB|ICONS
Error: Unresolved external '_HB_FUN_OCCURS' referenced from C:\FWH\LIB\FIVEH.LIB|VALTOSTR
Error: Unresolved external '_hb_strAtI' referenced from C:\FWH\LIB\FIVEH.LIB|VSTRFUN1
Error: Unresolved external '_HB_FUN_HB_GETFILESINZIP' referenced from C:\FWH\LIB\FIVEH.LIB|OLEFUNCS
Error: Unresolved external '_HB_FUN_HB_UNZIPOPEN' referenced from C:\FWH\LIB\FIVEH.LIB|OLEFUNCS
Error: Unresolved external '_HB_FUN_HB_UNZIPFILEFIRST' referenced from C:\FWH\LIB\FIVEH.LIB|OLEFUNCS
Error: Unresolved external '_HB_FUN_HB_UNZIPFILEINFO' referenced from C:\FWH\LIB\FIVEH.LIB|OLEFUNCS
Error: Unresolved external '_HB_FUN_HB_UNZIPFILEOPEN' referenced from C:\FWH\LIB\FIVEH.LIB|OLEFUNCS
Error: Unresolved external '_HB_FUN_HB_UNZIPFILEREAD' referenced from C:\FWH\LIB\FIVEH.LIB|OLEFUNCS
Error: Unresolved external '_HB_FUN_HB_BLEN' referenced from C:\FWH\LIB\FIVEH.LIB|OLEFUNCS
Error: Unresolved external '_HB_FUN_HB_UNZIPFILECLOSE' referenced from C:\FWH\LIB\FIVEH.LIB|OLEFUNCS
Error: Unresolved external '_HB_FUN_HB_UNZIPFILENEXT' referenced from C:\FWH\LIB\FIVEH.LIB|OLEFUNCS
Error: Unresolved external '_HB_FUN_HB_UNZIPCLOSE' referenced from C:\FWH\LIB\FIVEH.LIB|OLEFUNCS
Error: Unresolved external 'SHCreateDirectoryExA' referenced from C:\FWH\LIB\FIVEHC.LIB|MKDIR
Error: Unresolved external 'SHCreateDirectoryExW' referenced from C:\FWH\LIB\FIVEHC.LIB|MKDIR
Error: Unresolved external '_HB_FUN___OLEVARIANTNEW' referenced from C:\FWH\LIB\FIVEH.LIB|ADOFUNCS
Error: Unresolved external '_hb_extIsNil' referenced from C:\FWH\LIB\FIVEHC.LIB|RICHEDIT
Error: Unresolved external '_HB_FUN_HB_TSTOUTC' referenced from C:\FWH\LIB\FIVEH.LIB|VALTOSTR
Error: Unable to perform link

** error 2 ** deleting account.exe

C:\fwh\samples\account>

so there is a lot "new" in FIVEH.LIB / FIVEHC.LIB which the Sample don't know.
is this Sample now "unusable" :?:
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1729
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: C:\fwh\samples\account Problem

Postby Otto » Sat Jan 04, 2020 8:44 am

Hallo Jimmy,
ich glaube, dass ist ein sehr altes Programm.
Es ist schade, dass alle Dateien beim Update ein neues Datum bekommen.
LG
Otto



** * PROGRAMA: CONTAB.PRG FECHA INICIO: 02/11/95 ****
** * FECHA FIN: 03/11/95 ****
** * ANALISTA: Francis Morales Rivas ****
** * ****
*
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6330
Joined: Fri Oct 07, 2005 7:07 pm

Re: C:\fwh\samples\account Problem

Postby FranciscoA » Sat Jan 04, 2020 4:36 pm

Hi.
As Otto says, it's a very old source code.

On the other hand, try with this make:

Code: Select all  Expand view
HBDIR=c:\harbour_3.2_32bits_Borland582_20150205   //change this for your harbour ver.
BCDIR=c:\bcc7
FWDIR=.\..\..


#change these paths as needed
.path.OBJ = .\obj
.path.PRG = .\
.path.CH  = $(FWDIR)\include;$(HBDIR)\include
.path.C   = .\
.path.rc  = .\

#important: Use Uppercase for filenames extensions, in the next two rules!

PRG =        \
ejemcont.PRG    \
contabil.PRG    \
mntotel.PRG

PROJECT    : account.exe

account.exe  : $(PRG:.PRG=.OBJ) account.res
   echo off
   echo $(BCDIR)\lib\c0w32.obj + > b32.bc
   echo obj\ejemcont.obj obj\contabil.obj obj\mntotel.obj, + >> b32.bc
   echo ejemcont.exe, + >> b32.bc
   echo ejemcont.map, + >> b32.bc
   
   echo $(FWDIR)\lib\FiveH.lib $(FWDIR)\lib\FiveHC.lib + >> b32.bc
   
   echo $(HBDIR)\lib\hbrtl.lib + >> b32.bc
   echo $(HBDIR)\lib\hbvm.lib + >> b32.bc
   echo $(HBDIR)\lib\gtgui.lib + >> b32.bc
   echo $(HBDIR)\lib\hblang.lib + >> b32.bc
   echo $(HBDIR)\lib\hbmacro.lib + >> b32.bc
   echo $(HBDIR)\lib\hbrdd.lib + >> b32.bc
   echo $(HBDIR)\lib\rddntx.lib + >> b32.bc
   echo $(HBDIR)\lib\rddcdx.lib + >> b32.bc
   echo $(HBDIR)\lib\rddfpt.lib + >> b32.bc
   echo $(HBDIR)\lib\hbsix.lib + >> b32.bc
   echo $(HBDIR)\lib\hbdebug.lib + >> b32.bc
   echo $(HBDIR)\lib\hbcommon.lib + >> b32.bc
   echo $(HBDIR)\lib\hbpp.lib + >> b32.bc
   echo $(HBDIR)\lib\hbwin.lib + >> b32.bc
   echo $(HBDIR)\lib\hbcpage.lib + >> b32.bc
   echo $(HBDIR)\lib\hbct.lib + >> b32.bc
   echo $(HBDIR)\lib\hbpcre.lib + >> b32.bc
   echo $(HBDIR)\lib\hbcplr.lib + >> b32.bc
   echo $(HBDIR)\lib\xhb.lib + >> b32.bc
   echo $(HBDIR)\lib\hbziparc.lib + >> b32.bc
   echo $(HBDIR)\lib\hbmzip.lib + >> b32.bc
   echo $(HBDIR)\lib\hbzlib.lib + >> b32.bc
   echo $(HBDIR)\lib\minizip.lib + >> b32.bc


   echo $(BCDIR)\lib\cw32.lib + >> b32.bc
   echo $(BCDIR)\lib\import32.lib + >> b32.bc
   echo $(BCDIR)\lib\psdk\odbc32.lib + >> b32.bc
   echo $(BCDIR)\lib\psdk\nddeapi.lib + >> b32.bc
   echo $(BCDIR)\lib\psdk\iphlpapi.lib + >> b32.bc
   echo $(BCDIR)\lib\psdk\msimg32.lib + >> b32.bc
   echo $(BCDIR)\lib\psdk\gdiplus.lib + >> b32.bc
   echo $(BCDIR)\lib\psdk\psapi.lib + >> b32.bc
   echo $(BCDIR)\lib\psdk\rasapi32.lib + >> b32.bc
   echo $(BCDIR)\lib\psdk\shell32.lib, >> b32.bc
   
   IF EXIST account.res echo account.res >> b32.bc
   $(BCDIR)\bin\ilink32 -Gn -aa -Tpe -s @b32.bc
   del b32.bc

.PRG.OBJ:
  $(HBDIR)\bin\harbour $< /L /N /W /Oobj\ /I$(FWDIR)\include;$(HBDIR)\include
  $(BCDIR)\bin\bcc32 -c -tWM -I$(HBDIR)\include -oobj\$& obj\$&.c

.C.OBJ:
  echo -c -tWM -D__HARBOUR__ -DHB_API_MACROS > tmp
  echo -I$(HBDIR)\include;$(FWDIR)\include >> tmp
  $(BCDIR)\bin\bcc32 -oobj\$& @tmp $&.c
  del tmp

account.res : account.rc
  $(BCDIR)\bin\brc32.exe -r account.rc


Regards.
Francisco J. Alegría P.
Chinandega, Nicaragua.

Fwxh-MySql-TMySql
User avatar
FranciscoA
 
Posts: 2158
Joined: Fri Jul 18, 2008 1:24 am
Location: Chinandega, Nicaragua, C.A.

Re: C:\fwh\samples\account Problem

Postby Jimmy » Sat Jan 04, 2020 7:59 pm

hi,

thx for Answer, now it compile / link without Error :D

but i wonder how as i have a different harbour\LIB Path :?:

you working *.MAK
Code: Select all  Expand view
  HBDIR=c:\harbour

   echo $(HBDIR)\lib\hbziparc.lib + >> b32.bc
   echo $(HBDIR)\lib\hbmzip.lib + >> b32.bc
   echo $(HBDIR)\lib\hbzlib.lib + >> b32.bc
   echo $(HBDIR)\lib\minizip.lib + >> b32.bc
 

i change it to
Code: Select all  Expand view
  HBDIR=c:\harbour

   echo $(HBDIR)\lib\win\bcc\hbziparc.lib + >> b32.bc
   echo $(HBDIR)\lib\win\bcc\hbmzip.lib + >> b32.bc
   echo $(HBDIR)\lib\win\bcc\hbzlib.lib + >> b32.bc
   echo $(HBDIR)\lib\win\bcc\minizip.lib + >> b32.bc
 

when change to "real" Path i got these Error
Error: Unresolved external '_HB_FUN_OCCURS' referenced from C:\FWH\LIB\FIVEH.LIB|VALTOSTR
Error: Unresolved external '_hb_strAtI' referenced from C:\FWH\LIB\FIVEH.LIB|VSTRFUN1
Error: Unresolved external '_HB_FUN_HB_DEFAULTVALUE' referenced from C:\BCC7\LIB\HBZIPARC.LIB|ziparc
Error: Unresolved external '_HB_FUN_HB_DEFAULT' referenced from C:\BCC7\LIB\HBZIPARC.LIB|ziparc
Error: Unresolved external '_HB_FUN_HB_LEFTEQ' referenced from C:\BCC7\LIB\HBZIPARC.LIB|ziparc
Error: Unresolved external '_HB_FUN_HB_ISEVALITEM' referenced from C:\BCC7\LIB\HBZIPARC.LIB|ziparc
Error: Unresolved external '_HB_FUN_HB_BLEN' referenced from C:\BCC7\LIB\HBZIPARC.LIB|ziparc
Error: Unresolved external '_HB_FUN___OLEVARIANTNEW' referenced from C:\FWH\LIB\FIVEH.LIB|ADOFUNCS
Error: Unresolved external '_hb_extIsNil' referenced from C:\FWH\LIB\FIVEHC.LIB|RICHEDIT
Error: Unresolved external '_HB_FUN_HB_TSTOUTC' referenced from C:\FWH\LIB\FIVEH.LIB|VALTOSTR
Error: Unable to perform link

** error 2 ** deleting account.exe

it seem me it use \BCC7\LIB and not harbour\lib\win\bcc
but where does Error of C:\FWH\LIB\FIVEH.LIB / FIVEHC.LIB come from :?:

which LIB Path is to load first :idea: harbour or BCC Directory :?:
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1729
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: C:\fwh\samples\account Problem

Postby Otto » Sun Jan 05, 2020 12:08 am

Hello Jimmy,
I am about to convert my DOS accounting to mod harbour.

Image

Can you start the exe from the samples now? It would be interesting to me. Maybe I can learn from this program.
Best regards
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6330
Joined: Fri Oct 07, 2005 7:07 pm

Re: C:\fwh\samples\account Problem

Postby Jimmy » Sun Jan 05, 2020 12:24 am

Otto wrote:Can you start the exe from the samples now? It would be interesting to me. Maybe I can learn from this program.

YES, with file from Francisco.
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1729
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: C:\fwh\samples\account Problem

Postby Silvio.Falconi » Sun Jan 05, 2020 3:28 pm

jimmy ,
I sad to you to use xmate or Fivedit

I sent to you a gif to see how many second I compile acount app with xmate
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7053
Joined: Thu Oct 18, 2012 7:17 pm

Re: C:\fwh\samples\account Problem

Postby Jimmy » Sun Jan 05, 2020 8:42 pm

hi,
Silvio.Falconi wrote:I sent to you a gif to see how many second I compile acount app with xmate

thx for Advice.
but it make no Difference when Environment does not fit to run FivEdit, xMate or just in DOS-Box.
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1729
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: C:\fwh\samples\account Problem

Postby Silvio.Falconi » Mon Jan 06, 2020 12:23 am

ok but I sent you the env file for harbor and for xharbour. Believe me compiling with the bath file is quite difficult for those who are beginners, that is, who is trying how Fwh works.
As you can see in the gif I sent you to compile the application. \ Sample \ account it takes me only a few minutes .... why insist on wanting to use batch files? I really don't understand it

video : https://postimg.cc/94DxzDfj



XMate

Compilator Prg

Image


Compilator C

Image


for make exe and lib
Image


for make dll
Image

Linker
Image

I use xMate 1999 with success never had problems
Last edited by Silvio.Falconi on Sun Jan 12, 2020 4:34 pm, edited 2 times in total.
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7053
Joined: Thu Oct 18, 2012 7:17 pm

Re: C:\fwh\samples\account Problem

Postby Jimmy » Thu Jan 09, 2020 12:08 pm

hi,
Silvio.Falconi wrote:I sad to you to use xmate or Fivedit

i do use FivEdit and it does compile/link without Error ... but with "wrong" \harbour\LIB path :?
i do same with *.BAT and this give me that Error. :shock:

so my Question is not "how" it is "why" :?:

p.s. have you try hbIDE :idea:
is a xMate Clone made by Pritpal Bedi using harbour. (Source available )
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1729
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: C:\fwh\samples\account Problem

Postby Silvio.Falconi » Thu Jan 09, 2020 1:56 pm

I tried fiveedit with no success

I use xmate from allways and It run ok

Hbide Is not a xmate clone and It never run ok
It have some icona of xmate but Is not a clone of xmate but Is made from another ide sources

Xmate Is made from Andy and run ok It have a editor
Xmate Is not made with harbour sourced but Is made with another language (dev c)
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7053
Joined: Thu Oct 18, 2012 7:17 pm

Re: C:\fwh\samples\account Problem

Postby Otto » Thu Jan 09, 2020 2:11 pm

Hello Silvio,
Where can we download xMate?
And do you have a setup for compiling this accounting program?
I would only like to see it running.
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6330
Joined: Fri Oct 07, 2005 7:07 pm

Re: C:\fwh\samples\account Problem

Postby karinha » Thu Jan 09, 2020 3:35 pm

João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7811
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: C:\fwh\samples\account Problem

Postby Silvio.Falconi » Sun Jan 12, 2020 11:52 am

Otto wrote:Hello Silvio,
Where can we download xMate?
And do you have a setup for compiling this accounting program?
I would only like to see it running.
Best regards,
Otto


I send to you now
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7053
Joined: Thu Oct 18, 2012 7:17 pm

Re: C:\fwh\samples\account Problem

Postby Otto » Sun Jan 12, 2020 2:57 pm

Silvio,
thank you.
I will try tomorrow.
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6330
Joined: Fri Oct 07, 2005 7:07 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 110 guests