Thread: MAPI Doubts
View Single Post
  #1  
Old February 11th 09, 07:42 AM posted to microsoft.public.outlook.program_addins
Daman Pradhan
external usenet poster
 
Posts: 1
Default MAPI Doubts

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.

Ads