Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Compressing memo field value
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01417253
Message ID:
01417981
Vues:
84
>Yes. You are using Strconv(,16) on the return value from Encrypt() before sending it to the Decrypt() function. That's wrong because Encrypt doesn't return hex encoded binary. Your line of code should read...
>
>
>?decrypt(encrypt(m.lcPlainText, STRCONV(m.lcKey,16), 0, 0, 0, 16, 16),STRCONV(m.lcKey,16), 0, 0, 0, 16, 16)
>
>
>However, your post does highlight the need for better error handling in the FLL. I'm working on that for this FLL and others.

Thanks a lot. BTW, when I corrected that error, your FLL worked great.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform