Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error 87 on Windows XP in _crypt.vcx
Message
From
13/08/2003 19:31:01
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Error 87 on Windows XP in _crypt.vcx
Miscellaneous
Thread ID:
00819983
Message ID:
00819983
Views:
52
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 :)
Next
Reply
Map
View

Click here to load this message in the networking platform