DEAR PEOPLE FROM THE FUTURE: Here's what we've figured out so far…
Does anyone know the lifecycle of an AxControl (AxTOCControl)?
I have a complex application, that uses several technologies (Spring.NET, NHibernate, DevExpress components) among them Esri's ArcObjects.
this application starts normally, it binds a product (engine or desktop) then it gets the licence (ArcEngine), and it starts, so it is getting the proper license.
Then, minutes after the aplication has started, it throws a dialog box saying that I do not have the license of ArcView (in fact I do not have it, but i do not need it, because my code only use functionalities related with ArcEngine, not even extensions).
If i click in the button of this dialog box, then the application is closed.
I have been trying to capture the thread that launches this dialog box, but this attempt has been useless. Also I have tried using the tool Process Monitor and Process Explorer, but it has not been able to get information.
I need to understand the life cycle of the AxTOCControl to indetify when it is losing the license. Or if someone knows why a control can loss the binding to the existing license it will be very hepful!