C
Chris
I'm following the WrapPST sample to programmatically create wrapped PST
stores in the current Outlook session. Everything is working great apart from
where I am trying to block stores from being manually created when a user
goes to File->New->Outlook Data File in Outlook.
In ServiceEntry, I'm intercepting the MSG_SERVICE_CREATE and
MSG_SERVICE_CONFIGURE contexts and returning an error (e.g.
MAPI_E_NO_SUPPORT) if either a window handle is provided to ServiceEntry or
if the SERVICE_UI_ALLOWED flag is passed through. This successfully blocks
the request in Outlook 2007, but causes Outlook 2003 to crash.
I've tried forcing ServiceEntry in the WrapPST sample to return an error
which too causes Outlook 2003 to crash.
Does anybody know why this would happen? I've tried returning various MAPI
error codes, but they all cause Outlook to crash. Note that I'm using Outlook
2003 SP3
Thanks in advance,
Chris
stores in the current Outlook session. Everything is working great apart from
where I am trying to block stores from being manually created when a user
goes to File->New->Outlook Data File in Outlook.
In ServiceEntry, I'm intercepting the MSG_SERVICE_CREATE and
MSG_SERVICE_CONFIGURE contexts and returning an error (e.g.
MAPI_E_NO_SUPPORT) if either a window handle is provided to ServiceEntry or
if the SERVICE_UI_ALLOWED flag is passed through. This successfully blocks
the request in Outlook 2007, but causes Outlook 2003 to crash.
I've tried forcing ServiceEntry in the WrapPST sample to return an error
which too causes Outlook 2003 to crash.
Does anybody know why this would happen? I've tried returning various MAPI
error codes, but they all cause Outlook to crash. Note that I'm using Outlook
2003 SP3
Thanks in advance,
Chris