Hola amigos necesito ayuda:
Estoy trabajando en un antiguo Sample de database Sqlite
y se me ocurrio que se podria Encriptar la Base con nuestra sencilla
Herramienta de HMG ENCODE y DECODE super facil y sencilla.
Pero al consultar la Base datos y Cerrarla creo que queda abierta
pues luego de Encode no deja borrar, lo mismo ocurre sin Encode
es decir cuando cierras el Grid no permite hacer Eraser("sample.db3")
En este antiguo post veo que Rathinagiri lo soluciono segun pone aqui
HmgForum y en
https://groups.google.com/forum/#!topic ... lnX98avwbA
Para no cansarles he puesto un sample parecido a mi Base de datos
con tres MsgInfo(dbo) el primero sale 0x00AED9A4 siempre sale diferente
pero deduzco que la base de datos esta Open despues aplico
dbo := hdbcSQLTConnection( "sample.db3", .T. )
dbo:Close()
dbo:= Nil
msginfo(dbo) y sale en Blanco se supone que la base de datos está Close
siguiente paso:
hb_gcall( .T. )
msginfo(dbo) y sale en Blanco se supone que la base de datos está Close
y por último:
zx := ferase( "sample.db3" )
msgInfo( str( zx ) )
MsgInfo da como resultado -1 , no 0 como tendría que ser, si la Base se
hubiera Borado con Ferase
No quiero usar SQLCipher
Saludos
*----------------------------- Google-------------------------------*
Hello friends need help:
I'm working on an old Sample of database Sqlite
and I will occurred that could Encrypting Base with our simple
HMG tool ENCODE and DECODE super easy and simple.
But when you query the database and Closing it I think is open
Encode because after erase leaves, so does not Encode
ie when you close the Grid does not allow Eraser ("sample.db3")
In this old post I see that I fix Rathinagiri according gets here
HmgForum and
https://groups.google.com/forum/#!topic ... lnX98avwbA
To not to tire I put a similar sample to my Database
three MsgInfo (dbo) the first 0x00AED9A4 always comes out different
but I gather that the database is then applied Open
dbo: = hdbcSQLTConnection ( "sample.db3" .T.)
dbo: Close ()
dbo: = Nil
MsgInfo (dbo) and leaves White is assumed that the database is Close
next step:
hb_gcall (.T.)
MsgInfo (dbo) and leaves White is assumed that the database is Close
and finally:
zx: = FERASE ( "sample.db3")
MsgInfo (str (zx))
MsgInfo zx -> results -1, not 0 as it should be, if the Base
He would borated with FERASE
I do not want to use SQLCipher
Regards
Mustafa