MAPI Doubts

D

Daman Pradhan

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.
 
C

cainrandom

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.
 
D

DamanPradhan

Thanks for that clarification Cain !!!

I am testing the waters in MAPI and the first thing is I hit a wall.
[quoted text clipped - 11 lines]
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.
 

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