Share via


Add-in Connection and Disconnection (Windows CE 5.0)

Send Feedback

When the IDE starts, it loads all add-ins checked with Add-ins and Macro Files.

The IDE loads each add-in by calling the IDSAddIn::OnConnection method exposed by the add-in PBAddIn Object.

The IApplication::SetAddInInfo method of the IApplication Interface provides the IDE with essential information such as a handle to the add-in DLL and bitmap resources identifiers for the toolbar.

The OnConnection method also makes the commands exposed by the add-in available for the user to carry out, and it connects the add-in to any specified events if the add-in contains event handlers.

When the IDE quits, it unloads each add-in by calling the IDSAddIn::OnDisconnection method exposed by the add-in PBAddIn object.

See Also

Add-in Implementation | Connecting Add-ins to the Development Environment | Disconnecting Add-ins from the Development Environment

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.