Certadm.dll/CCertAdmin on Win2K?

From: Ohaya (ohaya_at_cox.net)
Date: 09/26/03


Date: Thu, 25 Sep 2003 22:03:51 -0400


Hi,

I've been trying to get one of the VB programs from the book "Developing
Secure Applications with Visual Basic" by Davis Chapman working on
Win2K. Specifically, the program CrlCheck from Chapter 7.

It looks like the program uses a number of COM objects, including
Certadm.dll, and so that "CertAdm 1.0 Type Library" was missing in the
VB Project References.

I couldn't find Certadm.dll on my Win2K Prof machine, so I copied it
over from a Win2K3 Server installation I have, and regsrv32'ed it, and
was able to get past that.

Now however, when the program tries to create CCertAdmin, I am getting a
"429 - ActiveX component can't create object".

Is this because I'm using the Certadm.dll from Win2K3 (rather than from
Win2K)?

If so, where can I get a copy of Certadm.dll for Win2K?

If it's not a "wrong Certadm.dll" problem, can anyone tell me what else
might be wrong?

Thanks,
Jim