Thanks for your reply.
I use HrOpenOneProp(lpFolder, PR_ENTRYID...) and HrOpenOneProp(lpFolder,
PR_STORE_ENTRYID,...) to get ids. It's long-term id, right?
I also do the following test.
Environment: Exchange 2000 with two databases. One is DB1 the other is
DB2.
Test case1: I create a profile to point to mailbox on DB1. The
GetFolderFromID() success on all mailboxs on DB1 but fail on DB2.
Test case2: I create another profile to point to mailbox on DB2. The
GetFolderFromID() success on all mailbox on DB2 but fail on DB1.
Thomas
Ken Slovak - [MVP - Outlook] - 13 Jan 2004 14:14 GMT
Please post some of the preceding messages in the thread when you post
a reply. Otherwise it's very hard to follow a thread and know what
went on before in it.
Are you logged into the second database? You would need something like
the equivalent of a login using a dynamic profile.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginners Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
> Thanks for your reply.
> I use HrOpenOneProp(lpFolder, PR_ENTRYID...) and HrOpenOneProp(lpFolder,
[quoted text clipped - 8 lines]
>
> Thomas