about encryption

Jochen Peters j.peters at valentina-db.de
Wed Sep 17 11:34:54 CDT 2003


Hi Carlo,

i will guide you step by step through all necessary steps - please keep 
in mind that i am using C++ -
but i think it is the same in RB....

1) Try to open the database WITHOUT any encryption key set!!!

2) If the db is structure encrypted then you
will get the error 328 - this means you CAN NOT open it without 
specifying the correct key. So - if this happens
then simply try again with the correct structure encryption key set.

3) AFTER this step the db is OPEN!!

4) The open database can be encrypted! So - you must check that by 
using the method "IsEncrypted" (i think in RB this is a property
of the db - note that this property is only set AFTER the db is 
opened!!!!)

5) If the db is encrypted then you must first CLOSE it and set the 
correct encryption key - then reopen it (In case you
have specified the wrong key you will get error 326 - then you must try 
again: close, set new key, reopen..)

Hope this helps...


-- 
Best regards,
Jochen Peters
PIIT GmbH

------------------------------------
http://www.valentina-db.de



More information about the Valentina mailing list