R
ryotyankou
I want to update the contact's info or create new contact with emailaddress1,
emailaddress2 and emailaddress3. For new contact, i use IAddrBook::
CreateOneOff, it works great. But i don't know how to update the three
emailaddress, for example: user can set the following combine for three
emailaddresses.
1. None. No emailaddress will be set.
2. First only first emailaddress will be set.
3. Second //no need for explaination, right
4. Third
5. First && Second
6. First && Third
7. Second && Third
8. First, Second and Third
I tried to use SetProps and pass empty string in, the contact's emailaddress
will be empty, it's ok, but the associated entry in addressbook is still
there.
Do i need to DeleteEntries to remove it?
Another question, whether an IMessageStore can only have one Addressbook? I
don't quite understand the difference between GetDefaultDir and GetPAB.
(Default DIR and PAB).
Thanks in advance.
200911
emailaddress2 and emailaddress3. For new contact, i use IAddrBook::
CreateOneOff, it works great. But i don't know how to update the three
emailaddress, for example: user can set the following combine for three
emailaddresses.
1. None. No emailaddress will be set.
2. First only first emailaddress will be set.
3. Second //no need for explaination, right
4. Third
5. First && Second
6. First && Third
7. Second && Third
8. First, Second and Third
I tried to use SetProps and pass empty string in, the contact's emailaddress
will be empty, it's ok, but the associated entry in addressbook is still
there.
Do i need to DeleteEntries to remove it?
Another question, whether an IMessageStore can only have one Addressbook? I
don't quite understand the difference between GetDefaultDir and GetPAB.
(Default DIR and PAB).
Thanks in advance.
200911