views:

77

answers:

0

I have upgraded what had been a working AD Users and Computers property sheets extension from Visual Studio 2003 to 2008 and am trying to debug it. The symptoms are that MMC.EXE crashes when selecting that property sheet tab.

I tried attaching to mmc.exe, but although the property sheet displayed the tab, the DLL is not on the call stack at time of crash.

I tried putting an ASSERT() in the extension, but then MMC catches the ASSERT and it never gets passed to the debugger - "MMC has detected an error in a snap-in and must close".

How does one debug a property sheet extension of this type?