Hi, Sean,

The problem you have has nothing with the about class. When you are
adding the MMC snapin to the console the MMC is trying to create the COM
component according to the GUID specified in the
HKLM\software\microsoft\MMC\snapins registry branch. So, your class,
which implements snapin interfaces sould be registered for COM interop.

Cheers,
Yuri Misnik
ATO IT Security Team



-----Original Message-----
From: Slavin, Sean [mailto:[EMAIL PROTECTED]] 
Sent: Saturday, 14 December 2002 9:11 AM
To: [EMAIL PROTECTED]
Subject: [ADVANCED-DOTNET] MMC Snap-in

I'm trying to use the MMC library from Ironring [1] and am running into
a
few problems. I've followed the example in the download but when I try
to
add the snap-in to a console, I get the following error: Snap-in failed
to
initialize. I can add the sample from the library just fine and my code
looks ok. When I go to try and add my snap in, I can see it in the list,
however it has the default icon and no description even though I have
specified those. I looked up the error on MSKB and all I came up with
was
that there might be an orphaned reg entry somewhere. I've spent the last
hour pouring thru my registry but can't seem to find anything out of
whack.
I'm thinking the MMC console can't find the about class but I have no
idea
why. Has anyone else run into this problem?

thx

8)
sean

[1] http://www.ironringsoftware.com/DesktopDefault.aspx?PageId=19
<http://www.ironringsoftware.com/DesktopDefault.aspx?PageId=19>

You can read messages from the Advanced DOTNET archive, unsubscribe from
Advanced DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced 
DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to