Page 1 of 1

OT: Accounting software

Posted: Thu Sep 13, 2012 7:51 am
by Otto
Is there someone who has an easy Accounting Software and is willing to sell the sources.
Thanks in advance
Otto

Re: OT: Accounting software

Posted: Thu Sep 13, 2012 8:49 am
by Antonio Linares
Otto,

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

Re: OT: Accounting software

Posted: Thu Sep 13, 2012 11:26 am
by Otto
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

Re: OT: Accounting software

Posted: Thu Sep 13, 2012 11:39 am
by Antonio Linares
Otto,

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

Re: OT: Accounting software

Posted: Thu Sep 13, 2012 11:50 am
by Otto
Antonio, thank you so much.
Best regards,
Otto

Re: OT: Accounting software

Posted: Thu Sep 13, 2012 3:36 pm
by kok joek hoa
Dear Antonio,

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

Thanks,

Kok

Re: OT: Accounting software

Posted: Thu Sep 13, 2012 5:23 pm
by hag
Antonio
I would appreciate a copy...Thanks

hgoldstein@dslextreme.com

Re: OT: Accounting software

Posted: Fri Sep 14, 2012 12:32 am
by joseluisysturiz
Tambien me anoto si es posible... joseluisysturiz@yahoo.com

Re: OT: Accounting software

Posted: Fri Sep 14, 2012 7:18 am
by StefanHaupt
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 ?

Re: OT: Accounting software

Posted: Fri Sep 14, 2012 8:21 am
by StefanHaupt
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: Select all

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())
 

Re: OT: Accounting software

Posted: Fri Sep 14, 2012 9:16 am
by Antonio Linares
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)

Re: OT: Accounting software

Posted: Fri Sep 14, 2012 11:36 am
by Eoeo
see your email

Re: OT: Accounting software

Posted: Fri Sep 14, 2012 12:54 pm
by StefanHaupt
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

Re: OT: Accounting software

Posted: Sat Sep 15, 2012 8:28 am
by Antonio Linares
Here you have it, make file, sources and EXE for 32 bits:
http://code.google.com/p/fivewin-contri ... ccount.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 :-)

Re: OT: Accounting software

Posted: Sat Sep 15, 2012 12:31 pm
by Antonio Linares
Here is the make file, I missed to include it in the zip file:

go.bat

Code: Select all

if not exist obj md obj
c:\bcc582\bin\make -faccount.mak
if errorlevel 0 ejemcont.exe
account.mak

Code: Select all

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