Re: Extensions Enumeration in CAPICOM using C++
From: Sahil (coder_at_topcoder.com)
Date: 04/07/04
- Next message: Sahil: "SmartCard certificate"
- Previous message: Rhett Gong [MSFT]: "RE: Launch apps that require admin rights under all accounts."
- In reply to: Sahil: "Extensions Enumeration in CAPICOM using C++"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 7 Apr 2004 16:22:42 +0500
Hello,
it worked, btw it was a runtime error
Thanks
"Sahil" <coder@topcoder.com> wrote in message
news:u#HwTa5GEHA.4008@TK2MSFTNGP10.phx.gbl...
> Hello,
> i am unable to enumerate the Extensions collection in the certificate. can
> anybody please explain syntex to me.
> i am calling this but it doesn't works as some COM calling convention or
> something else is missing. it gives me bad variable type assertion.
>
> Thanks,
> Danish.
>
> VARIANT z;
> z.lVal= 0;
> IExtensionPtr pExtension =
> ((IExtensionPtr)pCert->Extensions())->Item[z];
> if(pExtension->IsCritical)
> {
> bCritical = true;
> break;
> }
>
>
>
- Next message: Sahil: "SmartCard certificate"
- Previous message: Rhett Gong [MSFT]: "RE: Launch apps that require admin rights under all accounts."
- In reply to: Sahil: "Extensions Enumeration in CAPICOM using C++"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]