Once in a while, my add-on stops responding to SBO events. It happens upon closing a custom form. The add-on is still running, as I can see in the Visual Studio window, but there's no response to menu/item events. It seems that the only thing that solves this problem is a restart of the computer (closing and re-opening SBO client doesn't work).
Has anyone encountered such a problem? Does anyone think it's a problem with the add-on itself (it happened on two different computers)?
Do you have error catching in your add-on? I mean try...catches around all your code. Or perhaps event filtering? What sometimes happens on custom forms is that events are caught and when closing a form the form_unload event is caught. Then a form variable is set (eg. oForm = oApplication.Forms...). But it's where BeforeAction = False and it means the form is actually closed. The application then gets an exception which is unhandled. When this happens the add-on doesn't get any messages anymore.
Hope it helps,