Platform SDK: MAPI

Initializing OLE for Use with MAPI

If you also use OLE, call the OLE function OleInitialize to initialize the OLE libraries. If your client is written for a 32-bit platform, such as Windows NT or Windows 95, this call must be made on every thread in your application. OleInitialize initializes global data for the session and prepares the OLE libraries to accept calls. For information about calling OleInitialize, see the Platform SDK.