Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't install working copy of dll
Message
From
07/06/2001 14:58:00
 
 
To
05/06/2001 20:57:06
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00515448
Message ID:
00516555
Views:
9
I fixed it. It turns out the problem was due to the "Reader's Digest" version of the encryption example in Craig Kimpel's original FoxTalk article (June 2000). He made it seem like all you had to do was get a context, then get the session key handle, then encrypt. But if your machine doesn't have any keys created in the default container, .cryptAcquireContext() will fail. So the first step has to be .CreateCryptKeys(), which I didn't have in my .dll's init method. Putting that in solves everything.

-Rick
Previous
Reply
Map
View

Click here to load this message in the networking platform