Mombu the Microsoft Forum sponsored links

Go Back   Mombu the Microsoft Forum > Microsoft > Debugging snapin registration
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 21st April 12:40
jonathan gossage
External User
 
Posts: 1
Default Debugging snapin registration



I am writing a MMC snapin using C# and Visual Studio .NET. I have a problem
in the code that registers the snapin DLL with an exception being thrown.
Does anyone know how I can make this happen under the control of a debugger
so I can see what is going on. Since the exception is being thrown during
the build registration process, my normal snapin debugging environment is
not setup yet.

Regards

Jonathan Gossage
  Reply With Quote


  sponsored links


2 30th April 23:02
alexander kachalkov
External User
 
Posts: 1
Default Debugging snapin registration



Hi, Jonathan!
I'am also writing a MMC snapin using C# and Visual Studio .NET.
I don't know how to debug the registration code.
Because it is called when component is being registered.
But, i can send you the code that works fine!
Also you could get the source code of the MMC Snapin Framework from here:
http://sourceforge.net/projects/mmclibrary/

--
Best regards,
Alexander Kachalkov,
________________________
Intelligent Devices Company.
  Reply With Quote
3 30th April 23:02
jonathan gossage
External User
 
Posts: 1
Default Debugging snapin registration


I discovered that .Net contains a Debugger class in the System.Diagnostics
namespace. This contains a method "Launch" that allows you to launch a
debugger programmatically. With this I got my registration working properly
thanks.

Regards

Jonathan Gossage
  Reply With Quote
Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666