|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Stand alone MAPI?"Microsoft Exchange Server MAPI Client and Collaboration Data Objects" which can be downloaded at http://www.microsoft.com/downloads/details.aspx?FamilyID=e17e7f31-079a-43a9-bff2-0a110307611e&DisplayLang=en The purpose of this product as I understand it is to provide MAPI functionality on machines which do not have Outlook installed. I want to install it on a XP machine and use it to open and read .pst files. What I have found is that it works only with non-Unicode .pst files. If I try to call CreateMsgService with a service name of "MSUPST MS" I get a return of MAPI_E_NOT_FOUND. It does work with a value of "MSPST MS". However, I can open only non-Unicode pst files this way - if I try to open a Unicode pst file with "MSPST MS", then OpenMsgStore fails with error MAPI_E_UNCONFIGURED. A MAPI driver with such a limitation seems kind of useless, so I'm hoping I have it installed wrong or there is something I can do to configure it properly - any ideas? Hi Jeff,
> Does anybody have any positive experience with "stand alone MAPI" aka Yes, only ANSI pst files are supported.> "Microsoft Exchange Server MAPI Client and Collaboration Data Objects" > which can be downloaded at > > http://www.microsoft.com/downloads/details.aspx?FamilyID=e17e7f31-079a-43a9-bff2-0a110307611e&DisplayLang=en > > What I have found is that it (PST files) works only with non-Unicode .pst > files. You will need Outlook 2003/2007 to get a MAPI subsystem which handles Unicode pst files. -- SvenC
Show quote
Hide quote
>What I have found is that The profile methods are "well know" (if you know about it) to not work>it works >only with non-Unicode .pst files. If I try to call CreateMsgService with a >service >name of "MSUPST MS" I get a return of MAPI_E_NOT_FOUND. It does work with a >value of "MSPST MS". However, I can open only non-Unicode pst files this >way - if I try to open a Unicode pst file with "MSPST MS", then OpenMsgStore >fails >with error MAPI_E_UNCONFIGURED. > >A MAPI driver with such a limitation seems kind of useless, so I'm hoping I >have it installed wrong or there is something I can do to configure it >properly - >any ideas? in Unicode: http://www.ureader.com/msg/147531.aspx For example, in an otherwise Unicode Exchange server gateway project I have horrible code like this: // Casts used here as although the function sig is TCHAR, it only works in ANSI hr = MAPICALL(lpServiceAdmin)->CreateMsgService( lpServiceAdmin, (LPTSTR) pszAnsiKey, (LPTSTR) pszAnsiValue, /*fMapiUnicode*/0, 0); Dave
Other interesting topics
Create Mailbox
Exchange Web Services Migration MapiExceptionLowLevelInitializationFailure in C# with powershell webdav repeating appointments Exchange 2007, obtaining mailbox list without cmdlets? SMTP Transport event not working for C++ mailbox size (EWS) how to send an email without email address Prevent double booking of resources on Exchange 2007 (direct booking) WEBDAV connect with Exchange2007 |
|||||||||||||||||||||||