S
Sergeichik
1. If there are two similar contacts with names: "NN" and "NN " in Outlook
address book (second name with gap after letters), and I call ResolveName()
with parameter PR_DISPLAY_NAME = "NN", function can't resolve names and show
dialog (if MAPI_DIALOG flag was set). Function must find the contact without
the dialog been shown, as 'NN' and 'NN ' (with gap after) are really distinct
names.
2. If there are two contacts, one of which is substring of another: for
example, "Jane" and "Jane L" and function ResolveName() was called to find
"Jane", it can't resolve names too (see 1). Function must find the contact
without the dialog been shown, as 'Jane' and 'Jane L' are really distinct
names.
3. If there are two contacts with coincident names, but in diffrent folders,
ResolveName() stopped at the first founded contact. But dialog 'select name'
should be appear.
4. If display name looks like e-mail: for example, (e-mail address removed), ResolveName()
can't find contact at all.
How can I handle this particularities ?
address book (second name with gap after letters), and I call ResolveName()
with parameter PR_DISPLAY_NAME = "NN", function can't resolve names and show
dialog (if MAPI_DIALOG flag was set). Function must find the contact without
the dialog been shown, as 'NN' and 'NN ' (with gap after) are really distinct
names.
2. If there are two contacts, one of which is substring of another: for
example, "Jane" and "Jane L" and function ResolveName() was called to find
"Jane", it can't resolve names too (see 1). Function must find the contact
without the dialog been shown, as 'Jane' and 'Jane L' are really distinct
names.
3. If there are two contacts with coincident names, but in diffrent folders,
ResolveName() stopped at the first founded contact. But dialog 'select name'
should be appear.
4. If display name looks like e-mail: for example, (e-mail address removed), ResolveName()
can't find contact at all.
How can I handle this particularities ?