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

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
Back
Top