How to suppress security warning? (Outlook 2002 ATL VC++ addin)

F

furrbie

Hi,

I have the following code in my VC++ addin for outlook 2002:

CComQIPtr<Outlook::Recipients> spRecipients;
spMailItem->get_Recipients(&spRecipients);
ATLASSERT(spRecipients);

Whenever I try to get the recipient info, outlook prompts the following
message:
"A program is trying to access e-mail addresses you have stored in Outlook..."

Is there a way to suppress or disable this pop-up from appearing?

Thanks,
Mark
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top