Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Crypto API FFC Class
Message
De
05/04/2005 17:22:00
 
 
À
05/04/2005 15:38:55
Joel Leach
Memorial Business Systems, Inc.
Tennessie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 7 SP1
Database:
Visual FoxPro
Divers
Thread ID:
01001133
Message ID:
01001698
Vues:
15
This message has been marked as a message which has helped to the initial question of the thread.
>>You have to change you copy of Wincrypt.h to point to rsaenh.dll or change the one pointed to BASIC Crypto Provider to point to rsaenh.dll instead. And even then you must test that the copy encrypted in one OS iss able to be decrypted in other OS version as there are different versions of rsaenh.dll (PITA)
>>
>>#DEFINE dsMS_DEF_PROV_A       "Microsoft Base Cryptographic Provider v1.0"
>>
>
>Just to make sure I understand, I should be able to set _CryptAPI.cProviderName to the MS Enhanced Provider without making any registry changes, right? This assumes that it (rsaenh.dll) is installed.


That should work, but you have to make sure the versions of rsaenh.dll are the same (DLL hell I'm afraid). Else you risk incompatibility (i.e. one encrytion cannot be decrypted somewhere else). You can check version number with AGetFileVersion()


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform