Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cryptor Help
Message
From
21/05/2004 11:43:55
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Third party products
Title:
Cryptor Help
Miscellaneous
Thread ID:
00906049
Message ID:
00906049
Views:
44
I am using Cryptor 4.0 with the fll's for VFP7 and have created the following routine. My goal is to have the tables encrypted on disk and usable within my application.
***************
PRIV gaTables
 DIME gaTables(1) 
 gnDbcnumber = ADIR(gaTables, '*.dbf')  
 FOR nCount = 1 TO gnDbcnumber  
  lcFile =  gaTables(nCount,1) 
  
  
  CRYPTOR CODE EXECUTES HERE
  
  
 ENDFOR
*******************
1) = crypt_encode('&lcfile','Password',.f.,'',256) &&& Successfully encrypts/unencrypts data
2) cryptor([&lcfile],"Password",0,256) &&& Successfully accesses data
3) cryptoff([&lcfile],"Password",0,256) &&& Fails to restore encryption

I do not understand why the syntax is in a different format between 1 and 2, but it works.

Syntax 3 does not work.


Thanks for the help!

dg
Next
Reply
Map
View

Click here to load this message in the networking platform