Ola!
só que a aplicação em xharbour não teria nada a ver com o leto
Tem sim.
O protocolo de comunicação hb_socket... No harbour 3.2 ou 3.4 tem algumas dezenas de correções só nisso ai. Fora as outras coisas do xHarbour que é apenas copiada do Harbour (isso quando é copiado).
Até o letoDb.exe tem correções que está na 2.16
/* $Id: Changelog,v 1.350.2.242 2015/08/01 20:23:30 ptsarenko Exp $ */
/* Use this format for the entry headers:
YYYY-MM-DD HH:MM UTC[-|+]hhmm Your Full Name <your_email@address>
For example:
2002-12-01 23:12 UTC+0100 Foo Bar <foo.bar@foobar.org>
*/
2015-08-01 23:25 UTC+0300 Pavel Tsarenko (tpe2/at/mail.ru)
* tests/letoudf.prg
* small change in UDF_TransRec() function
* include/letocl.h
* source/client/letocl.c
+ added LetoDbOrderFocus() function
+ added LetoFreeStr() function
* source/client/leto1.c
* small change in letoTrans() function
2015-07-07 23:10 UTC+0300 Pavel Tsarenko (tpe2/at/mail.ru)
* include/funcleto.h
* version number increased (2.16)
* source/client/leto1.c
* source/server/letofunc.c
! fixed __dbTotal (__dbTrans) evaluation
2015-07-05 18:00 UTC+0300 Pavel Tsarenko (tpe2/at/mail.ru)
* source/client/leto1.c
* fixed gpf in ordBagExt() aka dbOrderInfo( DBOI_BAGEXT ) with no
opened workarea
2015-06-11 17:45 UTC+0300 Pavel Tsarenko (tpe2/at/mail.ru)
* include/rddleto.ch
* source/client/leto1.c
+ added hb_rddInfo( RDDI_VERSION,, "LETO" ) command.
This command is the same as dbInfo( DBI_RDD_VERSION ),
but but it doesn't require opened workarea.
2015-06-08 22:05 UTC+0300 Pavel Tsarenko (tpe2/at/mail.ru)
* utils/manager/manage.prg
* changed picture format for port number
2015-05-26 17:45 UTC+0300 Pavel Tsarenko (tpe2/at/mail.ru)
+ source/server/letozip.prg
* letodb.hbp
* Readme.txt
* readme_rus.txt
* added server functions leto_Zip and leto_UnZip
2015-05-06 17:15 UTC+0300 Pavel Tsarenko (tpe2/at/mail.ru)
* source/client/letocl.c
* added area buffers clearing in LetoDBClearFilter()
2015-04-22 13:45 UTC+0300 Alexander Kresin (alex/at/belacy.ru)
* source/server/server.prg
* Udf_Exit() is called automatically now while server exit procedure,
if letoudf.hrb exists.
2015-04-18 10:28 UTC+0300 Alexander Kresin (alex/at/belacy.ru)
* include/funcleto.h
* build number is set to 3.
2015-04-17 13:40 UTC+0300 Alexander Kresin (alex/at/belacy.ru)
* source/server/server.prg
* source/server/letofunc.c
* New letodb.ini option added - EnableSetTrigger.
* Readme.txt
* readme_rus.txt
* Information about EnableSetTrigger added.
2015-04-17 11:37 UTC+0300 Alexander Kresin (alex/at/belacy.ru)
* source/server/server.prg
* Setting 'Driver' option in '[DATABASE]' section in letodb.ini works now.
2015-04-16 10:00 UTC+0300 Alexander Kresin (alex/at/belacy.ru)
* source/server/letofunc.c
* source/server/server.prg
* Fixed problem with triggers. Now the 'trigger' and 'pendingtrigger'
letodb.ini options are stored via leto_SetAppOptions() and
are set for every new thread.
2015-04-15 16:15 UTC+0300 Alexander Kresin (alex/at/belacy.ru)
* source/server/letofunc.c
* source/client/leto1.c
* source/client/letocl.c
! Small fixes
2015-04-15 11:59 UTC+0300 Alexander Kresin (alex/at/belacy.ru)
* source/server/letovars.c
! Yet another fix
2015-04-15 09:48 UTC+0300 Alexander Kresin (alex/at/belacy.ru)
* source/server/letovars.c
! Possible source of a bug fixed
2015-04-14 12:30 UTC+0300 Alexander Kresin (alex/at/belacy.ru)
* source/server/letovars.c
! Bug fixed
2015-04-10 10:10 UTC+0300 Alexander Kresin (alex/at/belacy.ru)
* include/letocl.h
* include/funcleto.h
* build number is added to the version string, build 2 is set.
* makefile.bc
* makefile.gcc
! Fixes.
2015-04-08 12:50 UTC+0300 Alexander Kresin (alex/at/belacy.ru)
* Readme.txt
* readme_rus.txt
! Fixed the description of Leto_FileWrite() function
* Added info about <ip> option in letodb.ini
2015-04-08 09:20 UTC+0300 Alexander Kresin (alex/at/belacy.ru)
* source/server/server.prg
* rddleto.ch included
2015-04-07 11:55 UTC+0300 Alexander Kresin (alex/at/belacy.ru)
* source/server/server.prg
* Added REQUEST for leto_var... functions
2015-04-06 17:00 UTC+0300 Alexander Kresin (alex/at/belacy.ru)
* source/server/leto_2.c
* source/server/server.prg
* Added a new option for the server ini file:
ip, it allows to set an ip address for the server to bind
in the case there are few interfaces
2015-04-02 17:45 UTC+0300 Pavel Tsarenko (tpe2/at/mail.ru)
* include/letocl.h
* source/client/letocl.c
* source/client/letomgmn.c
* source/server/letofunc.c
* Readme.txt
* readme_rus.txt
+ added leto_FileAttr( cFile [, cNewAttr] ) function
2015-03-30 16:40 UTC+0300 Pavel Tsarenko (tpe2/at/mail.ru)
* source/client/leto1.c
* leto_FreeTag() function is simplified
* leto_OpenConnection changed for possibility to open tables
without connection prefix and path
2015-03-21 15:05 UTC+0300 Pavel Tsarenko (tpe2/at/mail.ru)
* source/server/letofunc.c
* changed permissions for file operations
2015-03-06 14:45 UTC+0300 Pavel Tsarenko (tpe2/at/mail.ru)
* include/letocl.h
* source/client/letocl.c
* source/client/letomgmn.c
* source/server/letofunc.c
* Readme.txt
* readme_rus.txt
+ added leto_DirRemove() function
2015-03-06 10:00 UTC+0300 Alexander Kresin (alex/at/belacy.ru)
* source/server/letofunc.c
! Small fix regarding HB_FT_AUTOINC, HB_FT_ROWVER data types
2015-03-04 16:05 UTC+0300 Alexander Kresin (alex/at/belacy.ru)
* source/server/server.prg
! Reverted some code, which was changed by my mistake
2015-03-04 14:25 UTC+0300 Alexander Kresin (alex/at/belacy.ru)
* source/client/leto1.c
* source/client/letocl.c
! Some wrong field types identificators fixed ( for HB_FT_TIMESTAMP, etc. )
2015-03-04 14:25 UTC+0300 Alexander Kresin (alex/at/belacy.ru)
* include/funcleto.h
* source/server/server.prg
* Some changes for compatibility with Harbour 3.0
2015-02-21 14:40 UTC+0300 Pavel Tsarenko (tpe2/at/mail.ru)
* source/server/server.prg
! fixed implementation of Trigger and PendingTrigger commands in letodb.ini
2015-02-09 15:25 UTC+0300 Alexander Kresin (alex/at/belacy.ru)
* source/client/leto1.c
* source/server/server.prg
! Fixes problem creating indexes with empty tag for NTX driver
2015-02-02 17:15 UTC+0300 Pavel Tsarenko (tpe2/at/mail.ru)
* include/letocl.h
* source/client/leto1.c
* source/client/letocl.c
* type of pTable->pFieldUpd field changed from ( unsigned int * )
to ( unsigned char * )
2015-01-29 16:45 UTC+0300 Pavel Tsarenko (tpe2/at/mail.ru)
* source/client/leto1.c
* source/client/letocl.c
* part of code moved from letoSkipRaw to LetoDbSkip function,
for correct using ptrBuf pointer
2015-01-23 11:08 UTC+0300 Alexander Kresin (alex/at/belacy.ru)
* source/client/letocl.c
! Yet another possible source of an error has been fixed.
2015-01-23 10:00 UTC+0300 Alexander Kresin (alex/at/belacy.ru)
* source/client/leto1.c
! Small fix in letoPutRec()
* source/client/letocl.c
* source/common/hbip.c
* htons() function call is moved from letocl.c to hbip.c
to resolve problems with some compilers, includind the one,
provided with Android NDK
2015-01-11 15:00 UTC+0300 Alexander Kresin (alex/at/belacy.ru)
* source/server/server.prg
! Bug fixed, which appeared if the index was created with an empty tagname
Olhe o tanto da correções até a versão "2.16b1" do LetoDb.
Fora isso você poderia usar/testar o HbNetIO do Przmek, que acredito faria poucas modificações no seu código.
O problema é que você tem que isolar a área do erro ai no xHarbour... em qual parte o sistema trava.
Se achar muito complicado isolar o erro com o xHarbour, faça testes com o Harbour.
Vamos admitir que seja um BUG do LetoDb... Enquanto estiver usando xHarbour 1.2... Mesmo que o Pavel ou o Alexander corrija você terá que trocar para o Harbour.
Até com o xHarbour a versão do SVN tem correções na LIB TIP.
Resumindo, o xHarbour precisa se comunicar com o Harbour, só ai, já é um problemão, porque sua versão está muito defasada...
Seque versão do Letodb 2.16 compilada com o Harbour 3.4 MingW32 anexada, teste para ver como fica com seu xHarbour.
Saudações,
Itamar M. Lins Jr.