Hi
much better is use sqlrdd or RDDADS
Regards
Luiz
Em sexta-feira, 27 de outubro de 2017 17:59:26 UTC-2, jmrodr...@gmail.com escreveu:
I work with xHarbour 1.2.3 Intl. (SimpLex) (Build 20170513) and BCC 55.
I want to try the letodb library.
I downloaded the latest version from http://www.kresin.ru/en/letodb.html (letodb-2.17-b3.bcc and letodb-2.17-b3.src).
I use this test program:
function main()
local cServer:='//127.0.0.1:2812/' // IPadress of server
REQUEST LETO
RDDSETDEFAULT("LETO")
if Leto_Connect(cServer)==-1 // is the server listening?
? 'No hay conexion con el servidor ' + cServer
? 'Error:' + str(LETO_CONNECT_ERR())
else
? 'Conexión correcta con el Servidor' + cServer
endif
RETURN nil
I run the letodb server without problems:
LETODB.INI:
Port=2812
DataPath=C:\DEV\LETODB
Logfile=letodb.log
Default_Driver=CDX
LETODB.LOG:
10/27/17 20:55:43: Leto DB Server has been started.
Leto DB Server v.2.17b3 ! INIT: DataPath=C:\DEV\LETODB, ShareTables=0, MaxUsers=500, MaxTables=5000, CacheRecords=10
I compile the test program with HARBOUR it works correctly but if I compile it in my environment (xHarbour + BCC52) it gives error 7 when trying to connect:
No hay conexion con el servidor //127.0.0.1:2812/
Error: 7
I do not know why. Some help?
Thank's!!!
hi Richard, thanks for your interest. I use bcc 5.5
Best regards
JM Rodriguez
Em quarta-feira, 1 de novembro de 2017 às 05:40:44 UTC-2, Jmar escreveu:
hi Richard, thanks for your interest. I use bcc 5.5
Best regards
JM Rodriguezv1.2.3 didn´t work with BCC55 with me, I had to use BCC58.
I can´t compile this rddleto.lib eighter.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 72:06:18 |
Calls: | 6,657 |
Calls today: | 3 |
Files: | 12,203 |
Messages: | 5,332,298 |
Posted today: | 1 |