Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Xitech Cryptor FPT
Message
From
28/01/2005 07:52:25
 
 
To
27/01/2005 18:56:58
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00981530
Message ID:
00981660
Views:
30
Yes, you must be careful not to perform double encription.

I avoid this problem in the following way:
1.  Load Cryptor DLL, but don´t register the list of files yet.

2.  Try to USE the DBF file:
    If no error
      Close the file and proceed with encryption   DBF and FPT
    else
      Assume a file is already encrypted

      You also should detect "Not a Table" and "Invalid memo file" errors,
      in order to know which file is or is not encrypted   DBF or FPT

      Close Files and Encrypt the file which didn´t generate errors.
    endif

3.  Register the list in Cryptor DLL
This way, you can run the encryption routine n-times and encrypt only once.



>Xitech just gave me my answer....seems my code is encoding the .FPT files twice...ugh.
Previous
Reply
Map
View

Click here to load this message in the networking platform