FIX: MAPIInitialize() Fails with MAPI_E_INVALID_FLAGSID: Q179116
|
After initializing COM with CoInitializeEx() as a multi-threaded application, MAPIInitialize() fails with error 0x80010106, MAPI_E_INVALID_FLAGS.
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in Microsoft Exchange version 5.5, Service Pack 1.
HRESULT hRes = CoInitialzeEx ( NULL, COINIT_MULTITHREADED );
hRes = MAPIInitialize ( NULL );
Additional query words:
Keywords : kbMsg kbMAPI100
Version : WINDOWS:1.0
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: August 3, 1999