TaskItem.Body and AppointmentItem.Body = access violation (NULL pt

K

Kayako Inc.

I am having a hard time figuring out why my add-in crashes Outlook 2000 and
XP but works on 2003 and 2007.

If I call TaskItem.PutBody (with any argument), or AppointmentItem.PutBody
(with any argument), I always get the stack trace below, resulting in a
access violation at a NULL pointer in OUTLLIB.DLL!GetCentralObject()


OUTLLIB.DLL!GetCentralObject@8() + 0x3df9 bytes
[Frames below may be incorrect and/or missing, no symbols loaded for
OUTLLIB.DLL]
OUTLLIB.DLL!DllGetClassObject() + 0x1f43 bytes
OUTLLIB.DLL!DllGetClassObject() + 0x1e7a bytes
user32.dll!_InternalCallWinProc@20() + 0x28 bytes
user32.dll!_UserCallWinProcCheckWow@32() + 0x48f4 bytes
user32.dll!_DispatchClientMessage@20() + 0x4d bytes
user32.dll!___fnNCDESTROY@4() + 0x26 bytes
ntdll.dll!_KiUserCallbackDispatcher@12() + 0x13 bytes
user32.dll!_NtUserDestroyWindow@4() + 0xc bytes
OUTLLIB.DLL!ExchEntryPoint2@0() + 0x2bb3 bytes
OUTLLIB.DLL!GetCentralObject@8() + 0x7bce bytes
OUTLLIB.DLL!GetCentralObject@8() + 0x4c97 bytes
OUTLLIB.DLL!MAPIMHeapCreate() + 0x3713a bytes
OUTLLIB.DLL!MAPIMHeapCreate() + 0x37172 bytes
OUTLLIB.DLL!MAPIMHeapCreate() + 0x371a8 bytes
OUTLLIB.DLL!OlkOnHelpAbout() + 0xbd9c4 bytes
SyncWorks.dll!Outlook::_TaskItem:putBody(_bstr_t Body={...}) Line
11962 + 0x19 bytes C++

I _really_ need help here. I have no idea what to do. Please see the
associated MSDN forum post:

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2000833&SiteID=1

OS is XP Professional SP2. I have tried this in all variations of Outlook
2000 and XP (w/ service packs, without). Code works fine in Outlook 2003 and
2007.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top