I made a few tests, when there are keys in the registry
- Netload doesn't LOAD my DLL
- AutoCAD close with a error
So, I add, into the loaded class, a messageBox at the beggining of the public void Initialize() method.
As this messageBox is show at AutoCAD startup, It shows that the DLL is auto-loaded 🙂
But, the loading stops when using some AutoCAD Object, such as :
{code}RibbonPaletteSet paletteSet = Autodesk.AutoCAD.Ribbon.RibbonServices.RibbonPaletteSet;{code}
{code}Autodesk.AutoCAD.Ribbon.RibbonServices.RibbonPaletteSet.RibbonControl.Tabs.Add(tab);{code}
The only thing I need, is a custom tab being loaded at Autocad 2009 startup.( tab defined by the code, thanks to a Ressource Dictionnary)
The object that make my load stops is, as we can see into the code, Autodesk.AutoCAD.Ribbon.RibbonServices.RibbonPaletteSet.
Has someone any idée ?