Hello,
How to read all contacts from Outlook Address book with some particular name,
for example 'Sunny', (from all folders) programmatically.
Can I do it with ResolveName() function ? It stops at the first founded
contact.
You can perform PR_ANR restriction on all address book containers on which you want to process.By this you are able to find the contacts with the same name.
I m not able to understand so can you please tell me with an example so that i m able to find the solution.
Here is an example:
Code:It is a regular RES_PROPERTY restriction: Restr.rt:=RES_PROPERTY; Restr.res.resProperty.relop:=RELOP_EQ; Restr.res.resProperty.ulPropTag:=PR_ANR; Restr.res.resProperty.lpProp:=@Prop; Prop.ulPropTag:=PR_ANR; Prop.Value.lpszA:=PChar(strName); res:=HrQueryAllRows(Tbl, @GALColumns, @Restr, nil, 0, pRows);
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks