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, 7 Aug 2008 15:56:00 -0500,    group: microsoft.public.platformsdk.mapi        back       


MAPI threading limitations?   
What are the threading limitations for extended MAPI?   For example, is it 
safe to share the same IMsgStore instance between threads with each thread 
opening / closing different IMessage instanances.

thanks
date: Thu, 7 Aug 2008 15:56:00 -0500   author:   Scott McFadden

Re: MAPI threading limitations?   
I usually try to avoid sharing objects other than IMAPISessioon between 
different threads.
If you are planning to use MAPI in anything resembling a multithreaded 
environment, make sure you are using the Exchange version of MAPI.

-- 
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy  - Outlook, CDO
and MAPI Developer Tool
-
"Scott McFadden"  wrote in message 
news:%23kvkAAN%23IHA.4472@TK2MSFTNGP05.phx.gbl...
> What are the threading limitations for extended MAPI?   For example, is it 
> safe to share the same IMsgStore instance between threads with each thread 
> opening / closing different IMessage instanances.
>
> thanks
>
>
>
date: Thu, 7 Aug 2008 14:20:23 -0700   author:   Dmitry Streblechenko

Re: MAPI threading limitations?   
Guess I was mainly curious as to which extended MAPI classes / methods are 
thread safe and which ones aren't.

My 2003 server box has Exhcange MAPI installed plus full Office 2007 
installed.




"Dmitry Streblechenko"  wrote in message 
news:uoXioNN%23IHA.3952@TK2MSFTNGP02.phx.gbl...
>I usually try to avoid sharing objects other than IMAPISessioon between 
>different threads.
> If you are planning to use MAPI in anything resembling a multithreaded 
> environment, make sure you are using the Exchange version of MAPI.
>
> -- 
> Dmitry Streblechenko (MVP)
> http://www.dimastr.com/
> OutlookSpy  - Outlook, CDO
> and MAPI Developer Tool
> -
> "Scott McFadden"  wrote in message 
> news:%23kvkAAN%23IHA.4472@TK2MSFTNGP05.phx.gbl...
>> What are the threading limitations for extended MAPI?   For example, is 
>> it safe to share the same IMsgStore instance between threads with each 
>> thread opening / closing different IMessage instanances.
>>
>> thanks
>>
>>
>>
>
>
date: Thu, 7 Aug 2008 17:24:56 -0500   author:   Scott McFadden

Re: MAPI threading limitations?   
That's bad. We don't support putting Exchange and Outlook's implementations 
of MAPI on the same box. No matter how you try to do it, invariably you're 
gonna end up loading some binaries from one implementation and some from the 
other. Thread safety is the least of your problems.

"Scott McFadden"  wrote in message 
news:ONETtxN%23IHA.4856@TK2MSFTNGP06.phx.gbl...
> Guess I was mainly curious as to which extended MAPI classes / methods are 
> thread safe and which ones aren't.
>
> My 2003 server box has Exhcange MAPI installed plus full Office 2007 
> installed.
>
>
>
>
> "Dmitry Streblechenko"  wrote in message 
> news:uoXioNN%23IHA.3952@TK2MSFTNGP02.phx.gbl...
>>I usually try to avoid sharing objects other than IMAPISessioon between 
>>different threads.
>> If you are planning to use MAPI in anything resembling a multithreaded 
>> environment, make sure you are using the Exchange version of MAPI.
>>
>> -- 
>> Dmitry Streblechenko (MVP)
>> http://www.dimastr.com/
>> OutlookSpy  - Outlook, CDO
>> and MAPI Developer Tool
>> -
>> "Scott McFadden"  wrote in message 
>> news:%23kvkAAN%23IHA.4472@TK2MSFTNGP05.phx.gbl...
>>> What are the threading limitations for extended MAPI?   For example, is 
>>> it safe to share the same IMsgStore instance between threads with each 
>>> thread opening / closing different IMessage instanances.
>>>
>>> thanks
>>>
>>>
>>>
>>
>>
>
>
date: Fri, 8 Aug 2008 09:49:36 -0400   author:   Stephen Griffin

Re: MAPI threading limitations?   
Without installing Office 2007, how else can you get the office 2007 
IFilters?  I don't need Outlook so much as I need the IFilter that it 
installs.


"Stephen Griffin"  wrote in message 
news:%23azKa2V%23IHA.4816@TK2MSFTNGP06.phx.gbl...
> That's bad. We don't support putting Exchange and Outlook's 
> implementations of MAPI on the same box. No matter how you try to do it, 
> invariably you're gonna end up loading some binaries from one 
> implementation and some from the other. Thread safety is the least of your 
> problems.
>
> "Scott McFadden"  wrote in message 
> news:ONETtxN%23IHA.4856@TK2MSFTNGP06.phx.gbl...
>> Guess I was mainly curious as to which extended MAPI classes / methods 
>> are thread safe and which ones aren't.
>>
>> My 2003 server box has Exhcange MAPI installed plus full Office 2007 
>> installed.
>>
>>
>>
>>
>> "Dmitry Streblechenko"  wrote in message 
>> news:uoXioNN%23IHA.3952@TK2MSFTNGP02.phx.gbl...
>>>I usually try to avoid sharing objects other than IMAPISessioon between 
>>>different threads.
>>> If you are planning to use MAPI in anything resembling a multithreaded 
>>> environment, make sure you are using the Exchange version of MAPI.
>>>
>>> -- 
>>> Dmitry Streblechenko (MVP)
>>> http://www.dimastr.com/
>>> OutlookSpy  - Outlook, CDO
>>> and MAPI Developer Tool
>>> -
>>> "Scott McFadden"  wrote in message 
>>> news:%23kvkAAN%23IHA.4472@TK2MSFTNGP05.phx.gbl...
>>>> What are the threading limitations for extended MAPI?   For example, is 
>>>> it safe to share the same IMsgStore instance between threads with each 
>>>> thread opening / closing different IMessage instanances.
>>>>
>>>> thanks
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
date: Mon, 11 Aug 2008 13:03:28 -0500   author:   Scott McFadden

Google
 
Web ureader.com


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