FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour OT: Accounting software
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
OT: Accounting software
Posted: Thu Sep 13, 2012 07:51 AM

Is there someone who has an easy Accounting Software and is willing to sell the sources.
Thanks in advance
Otto

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: OT: Accounting software
Posted: Thu Sep 13, 2012 08:49 AM

Otto,

FWH provides an easy working accounting software at FWH\samples\account :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: OT: Accounting software
Posted: Thu Sep 13, 2012 11:26 AM

Hello Antonio,
thank you.
I have the standard Fivewin/xharbour automatically installation.
How do I compile these files or is there an EXE file to test the program.
Thanks in advance
Otto

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: OT: Accounting software
Posted: Thu Sep 13, 2012 11:39 AM

Otto,

I am going to build it and I will provide it to you :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: OT: Accounting software
Posted: Thu Sep 13, 2012 11:50 AM

Antonio, thank you so much.
Best regards,
Otto

Posts: 117
Joined: Tue Jan 03, 2006 06:18 PM
Re: OT: Accounting software
Posted: Thu Sep 13, 2012 03:36 PM

Dear Antonio,

Could you send it to me?
my email is : jewelrysoft@yahoo.com

Thanks,

Kok

Posts: 598
Joined: Tue Apr 15, 2008 04:51 PM
Re: OT: Accounting software
Posted: Thu Sep 13, 2012 05:23 PM

Antonio
I would appreciate a copy...Thanks

hgoldstein@dslextreme.com

Thank you

Harvey
Posts: 2064
Joined: Fri Jan 06, 2006 09:28 PM
Re: OT: Accounting software
Posted: Fri Sep 14, 2012 12:32 AM

Tambien me anoto si es posible... joseluisysturiz@yahoo.com

Dios no está muerto...



Gracias a mi Dios ante todo!
Posts: 824
Joined: Thu Oct 13, 2005 07:39 AM
Re: OT: Accounting software
Posted: Fri Sep 14, 2012 07:18 AM

Both resource dll (calendar.dll, contabil.dll) are not compatible with windows or they are 16bit. The can´t be loaded, even not with PellesC.

Is there a chance to convert them to a windows compatible format ?

kind regards

Stefan
Posts: 824
Joined: Thu Oct 13, 2005 07:39 AM
Re: OT: Accounting software
Posted: Fri Sep 14, 2012 08:21 AM
Ok, you can convert it to .rc with borland workshop and then build a .dll with rc2dll32.bat.

To run it you have to change some lines in ejemcont.prg
Code (fw): Select all Collapse
FUNCTION Main()
    local oIco, oLogo1, oCur, oBar, oLogo2

    MsgLogo( "logofrn5.bmp" )

    SET DATE TO BRITISH
    SET DELETE ON
    SET CONFIRM ON
    SET SOFTSEEK ON
//    SET RESOURCES TO "CONTABIL.DLL" //,"BWCC32.DLL"
    SET 3DLOOK ON
    SetHandleCount(80)
    REQUEST DBFCDX
    RddSetDefault("DBFCDX")
// -------------------- added -------------------------
    LoadLibrary( "BWCC32.DLL" )
    SET RESOURCES TO "CONTABIL.DLL"
    BWCCRegister( GetResources())
kind regards

Stefan
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: OT: Accounting software
Posted: Fri Sep 14, 2012 09:16 AM

Stefan,

Could you please post here the RC from the DLL ? thanks :-)

(I am connected from a very low internet speed connection until next sunday)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 222
Joined: Mon Jun 04, 2012 12:00 PM
Re: OT: Accounting software
Posted: Fri Sep 14, 2012 11:36 AM

see your email

Posts: 824
Joined: Thu Oct 13, 2005 07:39 AM
Re: OT: Accounting software
Posted: Fri Sep 14, 2012 12:54 PM
Antonio,

Antonio Linares wrote:Stefan,
Could you please post here the RC from the DLL ? thanks :-)


yes, of course, but the .rc files are too big for this forum, here is a download link (38 kb)

http://www.speedshare.org/download.php?id=0D8452EA1
kind regards

Stefan
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: OT: Accounting software
Posted: Sat Sep 15, 2012 08:28 AM
Here you have it, make file, sources and EXE for 32 bits:
http://code.google.com/p/fivewin-contributions/downloads/detail?name=account.zip

Its very intuitive and easy to use and can easily be translated to english, etc.

If you like it, then we could modify it to give it a more modern look, redesign, etc :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: OT: Accounting software
Posted: Sat Sep 15, 2012 12:31 PM
Here is the make file, I missed to include it in the zip file:

go.bat
Code (fw): Select all Collapse
if not exist obj md obj
c:\bcc582\bin\make -faccount.mak
if errorlevel 0 ejemcont.exe


account.mak
Code (fw): Select all Collapse
HBDIR=c:\harbour
BCDIR=c:\bcc582
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 $(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\psapi.lib + >> b32.bc
   echo $(BCDIR)\lib\psdk\rasapi32.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, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion