Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error 87 on Windows XP in _crypt.vcx
Message
De
13/08/2003 19:31:01
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Error 87 on Windows XP in _crypt.vcx
Divers
Thread ID:
00819983
Message ID:
00819983
Vues:
53
Hi all,

I am using the _cryptapi from the _crypt.vcx that comes with VFP 7.

I am using the "EncryptSessionBlockString" function.

I have the cProviderName = "Microsoft Base Cryptographic Provider v1.0" so that the encryption and decryption will work the same on all versions of Windows (those that I have to support at least anyway.)

On Windows 98/NT4/2000 and 2003 it works fine.

On Windows XP it causes Windows API error 87 (I.e. GetLastError returns 87.) about once every 10 or 15 times it is called. It can happen the first time you call it and then not again until you have called it 10 times.

Does anybody know if this is a known issue in this class or is there an updated version available? (I did try the version that came with VFP8 but that appears to be exactly the same as the VFP7 one.)

Thanks,

Chris Ormerod
Have a nice day :)
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform