Patent ID: 8010970

Claim:
A method in a computer system for hosting a managed control in an email application designed for hosting unmanaged, ActiveX controls, the managed control being developed in a development environment, the method comprising: receiving an indication that an item has been opened in the email application with which the managed control is associated; after receiving the indication that an item has been opened, initializing a runtime wrapper that is an ActiveX control, wherein the runtime wrapper exposes interfaces and interfaces for the managed control; and under control of the initialized runtime wrapper, loading a management control of the development environment that in turn loads and hosts the managed control; receiving email events from the email application; and translating the email events received from the email application into events understood by the loaded managed control; providing the translated email events through the management control to the loaded managed control; receiving managed control events through the management control from the loaded managed control; translating the managed control events received the loaded managed control into events understood by the email application; and providing the translated managed control events to the email application, such that the runtime wrapper appears to the email application as an ActiveX control and to the managed control as a managed control host.