Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Add-ins for Outlook (http://www.outlookbanter.com/add-ins-outlook/)
-   -   How to suppress security warning? (Outlook 2002 ATL VC++ addin) (http://www.outlookbanter.com/add-ins-outlook/58644-how-suppress-security-warning-outlook.html)

furrbie October 10th 07 04:48 AM

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

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

CComQIPtrOutlook::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


Ken Slovak - [MVP - Outlook] October 10th 07 02:44 PM

How to suppress security warning? (Outlook 2002 ATL VC++ addin)
 
See http://www.outlookcode.com/article.aspx?id=52

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"furrbie" wrote in message
...
Hi,

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

CComQIPtrOutlook::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




All times are GMT +1. The time now is 11:24 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com