Initializing OLE for MAPI
Applies to: Office 2010 | Outlook 2010 | Visual Studio
If you also use OLE, call the OLE function OleInitialize to initialize the OLE libraries. OleInitialize initializes global data for the session and prepares the OLE libraries to accept calls. For information about calling OleInitialize, see the Windows SDK.