BOM dia
pode-se gerar a RDDLETO.LIB com eles ?
auguem usa ?
poderia explicar como gerar ?
desde já agradeço
Paiva

Moderador: Moderadores
2.5 xHarbour
SERVER: the server itself must be build with Harbour, cannot be done with xHB.
Same applies for utils like console monitor.
CLIENT: client library (RDD) can be build with xHarbour, use the 'rddleto.lib.xbp' definition for
xBuilder. For Windows ( but not for XCC ), it will by default use a second thread ( without HVM ),
so the executable must be linked with a library containing '_beginthreadex()'.
cFlag define: LETO_NO_THREAD=1 set for xHB will disable this and the need for threading function,
[ C-compiler: note that xBuilder doesn't store used C-compiler -- change it on demand.
XCC: can't compile 3rd party 'lz4.c', compile it with PellesC >= 4.5 manually,
and replace it in list of files for xBuilder with resulting 'lz4.obj':
pocc.exe -Fo"obj\lz4.obj" -Ot -I"include" -I"source\3rd\lz4\lib" -I%PATH_XHB%"\include"
-I%PATH_POCC%"\Include" -I%PATH_POCC%"\include\Win" "source\3rd\lz4\lib\lz4.c"
]
DEMO: one single demo 'test_mem.exe.xbp' is designed and tested with PellesC ( POCC ) V8.0 [ >= 6.0 ]
For this lib 'crtmt.lib' is in link list, other C-compiler may replace that "crtmt.lib" with one of
their distribution ( cw32mt.lib, libcmt.lib .. )
XCC, and RDD lib with disabled thread have to remove library from list.
Same way you can build other examples "test_[func|filt|dbf|dbfe|var|file]"
YOUR APP:
like above demo: link a MultiThread C runtime lib,
#include "rddleto.ch" for each '.prg' of a xHB LetoDBf project by xHB switch: "/u+rddleto.ch".
One source file of your project, i suggest that with function main() and Leto_Connect(),
should: REQUEST LETO
(*) Codepage-names of xHB and server build with Harbour may be different, that needs to
set up a 'name translation table' -- see LETO_ADDCDPTRANSLATE()
C:\>git clone https://github.com/elchs/LetoDBf.git letodbf
Cloning into 'letodbf'...
remote: Enumerating objects: 2652, done.
remote: Total 2652 (delta 0), reused 0 (delta 0), pack-reused 2652 eceiving objects: 98% (259
Receiving objects: 100% (2652/2652), 2.08 MiB | 3.00 MiB/s, done.
Resolving deltas: 100% (2086/2086), done.
C:\letodbf>hbmk2 rddleto.hbp
C:\letodbf>dir lib
O volume na unidade C não tem nome.
O Número de Série do Volume é 906B-7B11
Pasta de C:\letodbf\lib
24/07/2020 18:03 <DIR> .
24/07/2020 18:03 <DIR> ..
24/07/2020 18:03 456.576 librddleto.a
1 arquivo(s) 456.576 bytes
make_b32.bat
o letodb só funciona gerenciando PASTAS ? ou seja... Não posso mandar ele gerenciar C: ou D: por exemplo
index on field->cliente...
vou ver se a re-indexação com campos relacionados funciona aqui.
se um terminal acessar o servidor pelo letodb outro terminal ou até mesmo servidor Não vai poder acessar a mesma base sem ser pelo letodb correto ?
Usuários vendo este fórum: Nenhum usuário registrado online e 9 visitantes