Hooking up to events in the host application

Dec 29, 2008 at 9:10 AM

Im having lots of trouble trying to wire up events to the host application thats loading my addins.

For my first attempt, I made the class responsible for loading the addins implement an interface which contains several events. This interface was passed to the init method of an addin that was loaded so then the addin can look for the events and wire up any internal methods to external events.

Is there anyway to share custom datatypes across all the pipeline segments? Should I create a separate DLL project with my custom datatypes and have it referenced by my application and all the pipeline segments including the addins (seems too messy)?