Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Xitech Cryptor FPT
Message
De
28/01/2005 07:52:25
 
 
À
27/01/2005 18:56:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00981530
Message ID:
00981660
Vues:
28
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform