Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_cryptapi.vcx
Message
From
23/10/2002 15:59:32
 
 
To
23/10/2002 12:59:04
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00714449
Message ID:
00714530
Views:
42
>I created an application that uses the _cryptapi routines to encrypt/decrypt file names. I have tested in W98 & W2000 environments and everything works just fine. However, if the program is installed on an XP machine, the application doesn't see (decrypt?) the file names. Has anyone out there had any experience with _cryptapi and Windows XP? I'm confused where I should look for the problem. This is a VFP7.0 program compiled on a W98 machine. Are the WIN32API's/calls different? When running, the program doesn't crash or error like I would think it should if I missed a parameter or something, it just doesn't appear to recognize my encrypted file names under XP.

There was a change in the Cryptographic Services Providers. Make sure your CSP is the same.
Look in Wincrypt.h:
#DEFINE dsMS_DEF_PROV_A       "Microsoft Base Cryptographic Provider v1.0"
HTH


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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform