Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: Thu, 17 Jan 2008 21:10:00 -0800,    group: microsoft.public.platformsdk.mapi        back       


IMessage::OpenProperty has an hidden call to CoInitialize?   
I am working on an application that uses MAPI to access E-Mail.  

I recently noticed that calls to CoInitialize / CoUninitialize becomes 
unbalanced after accessing a message's content through the following call:

m_spIMessage->OpenProperty(
        PR_RTF_COMPRESSED, &IID_IStream, 0, 0, &cpUnknown);

Any idea?
date: Thu, 17 Jan 2008 21:10:00 -0800   author:   Shomano

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us