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"
- [DUG]: PR_ENTRYID to Outlook Widestring EntryID? Jason L. Coley
- RE: [DUG]: PR_ENTRYID to Outlook Widestring EntryID? Patrick Dunford
- RE: RE: [DUG]: PR_ENTRYID to Outlook Widestring Ent... Jason L. Coley
- RE: RE: [DUG]: PR_ENTRYID to Outlook Widestring Entr... David O'Brien
- RE: RE: RE: [DUG]: PR_ENTRYID to Outlook Widestring... Jason L. Coley
- RE: RE: RE: [DUG]: PR_ENTRYID to Outlook Widestring... Jason L. Coley
- RE: RE: RE: [DUG]: PR_ENTRYID to Outlook Widestring ... David O'Brien
- RE: Re: [DUG]: PR_ENTRYID to Outlook Widestring Ent... Nello Sestini
- RE: Re: [DUG]: PR_ENTRYID to Outlook Widestring Ent... Jason L. Coley
- RE: RE: Re: [DUG]: PR_ENTRYID to Outlook Widestrin... Jason L. Coley
- RE: RE: RE: Re: [DUG]: PR_ENTRYID to Outlook Wide... Jason L. Coley
- Re: RE: RE: Re: [DUG]: PR_ENTRYID to Outlook Wides... Nello Sestini
- RE: RE: RE: Re: [DUG]: PR_ENTRYID to Outlook Wides... Jason L. Coley
- Re: RE: RE: Re: [DUG]: PR_ENTRYID to Outlook Wides... Nello Sestini
- Re: RE: RE: Re: [DUG]: PR_ENTRYID to Outlook Wides... Nello Sestini
