|
-
May 21st, 1999, 10:12 AM
#1
What kind of class.
I am implementing a password/login dialog and I want to use the definitions in the header file wincrypt.h . I have included the functions for encrypting and decrypting the password in the same class as the dialog (CDialog) but even though I included the wincrypt.h file, the compiler won't understand these definitions:
HCRYPTPROV hProv;
HCRYPTKEY hKey;
What kind of class do I have to use in order to work with the definitions in wincrypt.h?.
What am I doing wrong?.
Please help me.
Thanks in advance.
-
May 21st, 1999, 03:22 PM
#2
Re: What kind of class.
Hey,
Not exactly an answer, but a check. Are you using Windows 95 release 2 (or later I assume), otherwise cryptography won't work. I wanted to do cryptography via the CryptoAPI, but failed due to the 'age' of my OS!!
Simon
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|