Página 1 de 1

xHarbour + SQLITE

Enviado: 01 Out 2015 20:27
por alaminojunior
Alguém saberia dizer se é possível acessar e manipular tabelas SQLITE usando xHarbour ?

Na minha versão xHarbour, tem uma pasta Contrib, com alguns arquivos relacionados ao SQLITE, mas tentei compilar um exemplo aqui e acusou uns erros, falta de funções.

xHarbour + SQLITE

Enviado: 07 Out 2015 01:47
por alxsts
Olá!

Talvez o tópico SQLite3 dê alguma luz para você. Não testei pois não tenho o SQLite instalado. Tente aí e poste o teu código. Pesquisando no Google tem algumas dicas adicionais.

xHarbour + SQLITE

Enviado: 08 Out 2015 18:46
por alaminojunior
Segui um pouco mais adiante, e o erro retornado foi:
C:\BCC58\BIN\ilink32 @makefile.lnk
Turbo Incremental Link 6.51 Copyright (c) 1997-2013 Embarcadero Technologies, Inc.
Error: Unresolved external '__endthreadex' referenced from C:\XHARBOUR\CONTRIB\HBSQLIT3\TESTS\SQLITE_3.LIB|sqlite3

Error: Unresolved external '__beginthreadex' referenced from C:\XHARBOUR\CONTRIB\HBSQLIT3\TESTS\SQLITE_3.LIB|sqlite3

Error: Unresolved external '_sqlite3_column_database_name' referenced from C:\XHARBOUR\CONTRIB\HBSQLIT3\TESTS\SQLITE_31.LIB|xhbsqlite3

Error: Unresolved external '_sqlite3_table_column_metadata' referenced from C:\XHARBOUR\CONTRIB\HBSQLIT3\TESTS\SQLITE_31.LIB|xhbsqlite3

Error: Unresolved external '_sqlite3_column_origin_name' referenced from C:\XHARBOUR\CONTRIB\HBSQLIT3\TESTS\SQLITE_31.LIB|xhbsqlite3

Error: Unresolved external '_sqlite3_column_table_name' referenced from C:\XHARBOUR\CONTRIB\HBSQLIT3\TESTS\SQLITE_31.LIB|xhbsqlite3

Error: Unable to perform link

xHarbour + SQLITE

Enviado: 08 Out 2015 18:52
por alxsts
Olá!

Aí fica difícil... será que a sua lib para SQLite está atualizada?

xHarbour + SQLITE

Enviado: 08 Out 2015 21:15
por alaminojunior
Pois então Alexandre:
Com os dois arquivos em .C constantes na pasta, gerei duas libs.
Baixei a Sqlite e com a DLL e a implib.EXE gerei outra lib.

Amanhã tento mais um pouco.

xHarbour + SQLITE

Enviado: 09 Out 2015 02:10
por alxsts
Olá!

Tópicos longos mas que podem oferecer alguma ideia: http://www.hmgforum.com/viewtopic.php?f=15&t=853 e outro Using SQLite with xHarbour e mais outro SqLite in network

xHarbour + SQLITE

Enviado: 26 Abr 2016 16:29
por leandrolinauer
Boa tarde alaminojunior
Conseguiu instalar SQLITE com xHarbour?
A um tempo atrás, uns anos +ou- (3 anos a 4 anos), quando tive que usar SQLITE, tive que migrar de xharbour para HARBOUR e foi a melhor coisa que ja fiz eu uso SQLITE3 e funcinando perfeitamente no HARBOUR, e hoje ja estou no HARBOUR 3.4, se precisar de alguma ajuda no assunto, só me avisar.
T+
:xau

xHarbour + SQLITE

Enviado: 26 Abr 2016 16:56
por alaminojunior
Obrigado Leandro !

Consegui sim.

Ainda preciso utilizar xHarbour, pois utilizo SQLRDD num projeto maior. Mas tempos atrás consegui com a ajuda de colegas, compilar um projeto para usar SQLite e funciona muito bem sim.