Page 2 of 4
Re: LETODB
Posted: Tue Dec 04, 2012 11:41 am
by esgici
esgici wrote:
So you need either a MinGW compatible library or a library converter ( .lib to .a ) utility.
Found a thing for you :
http://code.google.com/p/lib2a/
I hope that will help you
Regards
Re: LETODB
Posted: Tue Dec 04, 2012 11:49 am
by t57042
The precompiled version of letodb.exe (server side) you find in this link - works ok for me (windows7):
http://bielsys.blogspot.be/2008/07/leto ... -para.html
With manage.exe (also found in above link) I am able to connect to the server.
In the libs/mingw directory of the download you mentioned:
http://sourceforge.net/projects/letodb/?source=dlp
is a file librddleto.a, which should be the file to link with your application on the client side.
I made a file rddleto.hbc containing libs=librddleto in the same directory as my source program (letotest.prg).
I still get an error when compiling (undefined reference).
What do I do wrong?
regards
Richard
Re: LETODB
Posted: Tue Dec 04, 2012 11:57 am
by esgici
t57042 wrote:...
I made a file rddleto.hbc containing libs=librddleto in the same directory as my source program (letotest.prg).
I still get an error when compiling (undefined reference).
...
esgici wrote:After having a MinGW compatible library, it's easy to include it to HMG project:
add a line to your project configuration file (.hbc) :
libs=<lib_file_name>
<lib_file_name> is name of your library file, without "lib" prefix and ".a" extension
So, you need :
libs=rddleto
instead of
libs=librddleto
Regards
Re: LETODB
Posted: Tue Dec 04, 2012 12:43 pm
by t57042
So, you need :
libs=rddleto
instead of
libs=librddleto
the filename is: librddleto.a
Richard
Re: LETODB
Posted: Tue Dec 04, 2012 12:53 pm
by esgici
t57042 wrote:
the filename is: librddleto.a
Yes, but HBMK2 requires without "lib" prefix
Re: LETODB
Posted: Tue Dec 04, 2012 1:11 pm
by t57042
I tried libs=rddleto
same result
Richard
Re: LETODB
Posted: Tue Dec 04, 2012 2:17 pm
by esgici
Let's wait experts
Regards
Re: LETODB
Posted: Tue Dec 04, 2012 2:20 pm
by danielmaximiliano
t57042 wrote:I tried libs=rddleto
same result
Richard
Try : install server mode daemon
Letodb install
/* Start Letodb */
letodb.exe
/* Stop Letodb */
Letodb stop
Re: LETODB
Posted: Wed Dec 05, 2012 12:19 pm
by t57042
Where can I find the syntax and use of .hbc files?
Richard
Re: LETODB
Posted: Wed Dec 05, 2012 12:39 pm
by esgici
t57042 wrote:Where can I find the syntax and use of .hbc files?
.hbc files are "configuration" files for use by hbmk2 and this is output of
command ( Harbour Release : 18724 ).
- hbmkHelp.zip
- hbmk2 help output ( Hb-Rel- 18724 )
- (6.35 KiB) Downloaded 226 times