CryptAcquireContext Fails in Windows 98
From: Agnihotri (anonymous_at_discussions.microsoft.com)
Date: 05/27/04
- Next message: Rob Swofford: "LoadUserProfile fails"
- Previous message: Roelof: "Re: Filecertstore private key"
- Next in thread: Amit Rahul [MS]: "Re: CryptAcquireContext Fails in Windows 98"
- Reply: Amit Rahul [MS]: "Re: CryptAcquireContext Fails in Windows 98"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 27 May 2004 04:46:03 -0700
Hi,
I have made the ATL COM component which uses CriptoAPI. The component is developed in Windows 2000 and is functional.
When i use the same component in Windows 98 the CriptoAPI function "CryptAcquireContext" fails???
I have used the function is following way
if(!CryptAcquireContext(&hCryptProv,NULL, MS_ENHANCED_PROV, PROV_RSA_FULL, 0))
{
if(!CryptAcquireContext(&hCryptProv,NULL, MS_ENHANCED_PROV, PROV_RSA_FULL, CRYPT_NEWKEYSET))
{
return E_FAIL;
}
}
Please help me out.....
Thank You
- Next message: Rob Swofford: "LoadUserProfile fails"
- Previous message: Roelof: "Re: Filecertstore private key"
- Next in thread: Amit Rahul [MS]: "Re: CryptAcquireContext Fails in Windows 98"
- Reply: Amit Rahul [MS]: "Re: CryptAcquireContext Fails in Windows 98"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|