i've got following problem. With the PENTRYID and IMSGStore.OpenEntry
i get the IMessage.
After that i set some Userproperties with IMessage.SetProps.
Everything works fine.
The problem occurs after calling IMessage.SaveChanges
(KEEP_OPEN_READWRITE)
An access violation is shown at 0x7c92b21a with following stacktrace:
:7c92b21a ntdll.RtlpWaitFor CriticalSection + 0x5b
:7c911046 ntdll.RtlEnterCriticalSection + 0x46
:35f7bfd4 msmapi32.SetLastUserTime + 0x43
:35f7bfd4 ; C:\Programme\Gemeinsame Dateien\System\MSMAPI
\1031\msmapi32.dll
:7e368734 USER32.GetDC + 0x6d
:7e368816 ; C:\Windows\system32\USER32.dll
:7e3689cd ; C:\Windows\system32\USER32.dll
:30d15090 ; C:\Programme\Gemeinsame Dateien\Microsoft Shared
\office11\mso.dll
:3000139e ; C:\Programme\Microsoft Office\Office11\Outlook.exe
:7c817077 kernel32.RegisterWaitFor InputIdle + 0x49
This error only occurs with Outlook 2003. With Outlook 2007 everything
works as expected without any error.
Has someone an idea how to fix that problem or a workaround?
Greats
Hans Schmidt