Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't install working copy of dll
Message
De
07/06/2001 14:58:00
 
 
À
05/06/2001 20:57:06
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00515448
Message ID:
00516555
Vues:
10
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform