Files
harbour-core/harbour/extras/hbapollo/tests/test70.prg
Viktor Szakats 340318e66d 2012-07-21 19:09 UTC+0200 Viktor Szakats (vszakats syenar.net)
+ extras
  - examples
  * doc/dirstruc.txt
    * renamed 'examples' to what it is more: 'extras'
2012-07-21 17:10:27 +00:00

21 lines
460 B
Plaintext

/*
* $Id$
*/
/*
sx_DBFEncrypt(), sx_DbfDecrypt()
*/
#include "sixapi.ch"
#include "simpleio.ch"
PROCEDURE MAIN()
USE "test/test" ALIAS TESTME
sx_Copyfile( "newtest" ) // Copy DBF to newtest
USE "newtest" EXCLUSIVE // Open Exclusive
sx_DBFEncrypt( "harbour" ) // Encrypt with password
sx_SetPassword() // Reset password to test encryption
BROWSE
sx_DBFDecrypt( "harbour" ) // Decrypt DBF with password
BROWSE