Page 2 of 4

Re: LetoDBF

Posted: Wed Apr 04, 2018 2:33 pm
by apais
In harbour group there is a more actual fork of LetoDB ( By Elch I think ) that has a LOT of bugs fixed.
HTH
Angel

Re: LetoDBF

Posted: Wed Apr 04, 2018 3:20 pm
by mol
I'll try to compile it. But, it uses Borland C++ compiler :(

Re: LetoDBF

Posted: Wed Apr 04, 2018 5:06 pm
by mol
Is anybody able to build leto with MinGW compiler?

Re: LetoDBF

Posted: Wed Apr 04, 2018 6:27 pm
by mol
My enthusiasm was too big :(
In Alex Kresin there are a lot of bugs to use it in production mode.
I don't know how to build nNew LetoDBF fork with mingw compiler to get fill compatibility with HMG.
I must abandon this work - 3 days of testing lost :(

Re: LetoDBF

Posted: Wed Apr 04, 2018 6:43 pm
by gfilatov
mol wrote: Wed Apr 04, 2018 5:06 pm Is anybody able to build leto with MinGW compiler?
Yes, it is.

My batch file for building of the rddleto library is below
@echo off
set OLDPATH=%PATH%

SET HMGPATH=c:\hmg

SET PATH=%HMGPATH%\harbour\bin;%HMGPATH%\mingw32\bin;%PATH%

HBMK2 rddleto %*

set HMGPATH=
set HMGRPATH=
set PATH=%OLDPATH%
You can build letodb server also if replace 'rddleto ' parameter with 'letodb' 8-)

Hope that helps :idea:

Re: LetoDBF

Posted: Wed Apr 04, 2018 7:11 pm
by mol
I got an error:

Code: Select all

d:\projekty\letodbf>build_leto
hbmk2: Linking... bin\letodb.exe
bin/.hbmk/win/mingw/server.o:server.c:(.data+0xa18): undefined reference to `HB_FUN_HB_MEMIO'
collect2.exe: error: ld returned 1 exit status
hbmk2[letodb]: Error: Running linker. 1
gcc.exe bin/.hbmk/win/mingw/server.o bin/.hbmk/win/mingw/errorsys.o bin/.hbmk/win/mingw/common.o bin/.hbmk/win/mingw/errint.o bin/.hbmk/win/mingw/leto_win.o bin/.hbmk/win/mingw/letoacc.o bin/.hbmk/win/mingw/letovars.o bin/.hbmk/win/mingw/letofunc.o bin/.hbmk/win/mingw/letolist.o bin/.hbmk/win/mingw/leto_2.o bin/.hbmk/win/mingw/blowfish.o bin/.hbmk/win/mingw/common_c.o bin/.hbmk/win/mingw/_hbmkaut_server.o    -mwindows -Wl,--start-group -lhbextern -lhbdebug -lhbvmmt -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lhbmainwin -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -liphlpapi -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib   -Wl,--end-group -obin/letodb.exe  -Ld:/hmg344/harbour/lib/win/mingw

hbmk2: Hint: Add option 'hbmemio.hbc' for missing function(s): HB_MEMIO()
I don't know how to include hb_memio()

Re: LetoDBF

Posted: Thu Apr 05, 2018 8:00 am
by mol
A little success!
I've compiled newest version of LetoDB by elch downloaded from GitHub.
It looks indexes works OK in this version.
I'll test it again :) and I'll report, maybe it will be useful for somebody...

Re: LetoDBF

Posted: Thu Apr 05, 2018 9:29 am
by mol
Server compiled by me runs as daemon, but leaves console screen. How can I hide console screen?

Re: LetoDBF

Posted: Thu Apr 05, 2018 10:25 am
by bpd2000
mol wrote: Thu Apr 05, 2018 9:29 am Server compiled by me runs as daemon, but leaves console screen. How can I hide console screen?
It may help you
http://hmgforum.com/viewtopic.php?f=5&t ... ole#p46781

Re: LetoDBF

Posted: Wed May 30, 2018 1:27 pm
by Mario Mansilla
Hola Mol :
me interesa conocer como trabaja LETODB para implementarlo en una pequeña aplicacion que solo lee stock de mercaderia entre sucursales distantes .
Pudiste crear la libreria para usarla con Mingw ?

Saludos
Mario Mansilla

Hello mol :
I am interested in knowing how LETODB works to implement it in a small application that only reads stock of merchandise among distant branches.
Could you create the library to use with Mingw?

regards
Mario Mansilla