Jason

> I am working with an Outlook add-in, and I can't figure out how I can
> convert the EntryID that gets returned by the MAPI so it can be used in
> Outlook to find an item.

> I get the pointer to the msg item using the IMsgStore::OpenEntry
> function, which I can work OK, then make a call to get the Entry ID


there is a function (pardon my C++)

     HrSzFromEntryID(ULONG cb, LPENTRYID lpEntryID,
                        LPTSTR FAR *lpsz);


in MAPI32.DLL that i think does what you want.


Have a look at: 
http://msdn.microsoft.com/library/psdk/mapi/_mapi1book_hrszfromentryid.htm


-ns



---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to