when I create an activeX control at runtime which in fact is a .net control exposed as a com object, the hosting axhost class gets the following exception during its dispose:
The object's type must be __ComObject or derived from __ComObject.
Parameter name: o
When the activeX control is created by other means (e.g. visual basic 6.0) the dispose works fine.
The control is created by callingnew AxHost(CLSID_OF_THE_CONTROL)
Is the .net control missing any necessary interface implementation to work with axhost?