|
|
|
date: Wed, 12 Mar 2008 23:39:38 -0700 (PDT),
group: microsoft.public.platformsdk.mapi
back
Re: GetMsgStoresTable is returning message store of Previous Session
Hi there,
I cannot regenerate the problem, or let me say the problem is not
generating.
I must have modified the code.
Ya, that might have caused due to some misplaced coding.
Thank you dimitry.
"Dmitry Streblechenko" wrote in message
news:evcXxlzhIHA.4436@TK2MSFTNGP02.phx.gbl...
>I very much doubt that stores from a profile that was previously deleted
>are somehow added to a profile that yo uhave never explicitly modified.
> I am 99.9% sure there is a problem in your code.
> Do you have a code snippet that exhibits this problem?
>
> Dmitry Streblechenko (MVP)
> http://www.dimastr.com/
> OutlookSpy - Outlook, CDO
> and MAPI Developer Tool
>
> "miztaken" wrote in message
> news:ehVdLLbhIHA.3940@TK2MSFTNGP05.phx.gbl...
>> Actually the behaviour is unpredictable as it seems to me.
>> I am deleting the profile before creating it.
>> This is giving me the result as i expected.
>> But i want to know how to gracefully deal with these sort of condition
>> (i.e. when previously MAPI terminates abruptly and we get message store
>> from previous session)
>>
>> Thank You
>>
>>
>>
>> "Dmitry Streblechenko" wrote in message
>> news:Oa7af7ShIHA.5824@TK2MSFTNGP03.phx.gbl...
>>> What do you see in MFCMAPI or OutlookSpy (IMAPISession |
>>> GetMsgStoresTable)?
>>>
>>> Dmitry Streblechenko (MVP)
>>> http://www.dimastr.com/
>>> OutlookSpy - Outlook, CDO
>>> and MAPI Developer Tool
>>>
>>> wrote in message
>>> news:56f85a8c-4de3-44bb-8f7a-425dd09a65d4@e10g2000prf.googlegroups.com...
>>>> Hi there,
>>>>
>>>> When i close my MAPI application abruptly, or when it gets closed
>>>> abruptly.
>>>> The on the second run, i sometimes get the error like
>>>> "Object reference is not set to an instance of object."
>>>>
>>>> When i debugged whats wrong, i found out that my GetMsgStoresTable was
>>>> returning multiple and previous session's message stores.
>>>> Even if i deleted my profile and created a new with the same name, it
>>>> still is returning multiple previous session's message stores.
>>>> I dont know how to check and handle such cases initially.
>>>> Any help will be highly appreciated.
>>>>
>>>> Thank You
>>>> miztaken
>>>>
>>>
>>>
>>
>>
>
>
date: Mon, 17 Mar 2008 12:46:13 +0545
author: miztaken
|
|