Thread: MAPI Doubts
View Single Post
  #2  
Old February 11th 09, 01:42 PM posted to microsoft.public.outlook.program_addins
[email protected]
external usenet poster
 
Posts: 24
Default MAPI Doubts

On Feb 11, 1:42*am, "Daman Pradhan" u49522@uwe wrote:
I am testing the waters in MAPI and the first thing is I hit a wall.

The code that I try to execute when opening a .pst file on a machine which
does not have Outlook installed is :
result = MsgService.CreateMsgService("MSPST MS", ProfileName, WinHandle,
IMsgServiceAdmin.FLAGS.ServiceUIAllowed); //MsgService is of type MAPI33.
IMsgServiceAdmin

I get a MAPI33.Error.SyncUnknownFlags error.(0x80040106). I'm lost !

I am using MAPI33.dll.

Can somebody please guide me through this ?

Thanks in advance.


Opening a PST requires a library that is only provided with Outlook.
I.e., Outlook must be installed on the machine you're trying to access
the PST from.
Ads