Hi Bryan,
Thanks for your reply.
I'm using something similar to you, but the aet_ShutDown event doesn't seem to fire when I click stop from the addon manager window. It only fires if I close the SBO client. So the addon closes perfectly when I close SAP however if I just stop the addon it continues running in the background.
I need to know when someones stopped the addon from the addon manager window so I can clean up the event handlers as I'm doing in the shutdown event.
I hope that makes sense?