'Get rid of security message Outlook

I'm writing an application that needs to access to Outlook address book, however, every time I launch it a warning message is shown saying that an application is trying to access to your adress book. I've noticed this behaviour only with the machines where no antivirus is installed. How to get rid of this message?

Here is a part of the code I use to retreive some emails related informations

CApplication l_application;
    l_application.CreateDispatch("Outlook.Application");
    CNameSpace l_namespace = l_application.GetNamespace(_T("MAPI"));
    CMAPIFolder l_mapiFolder = l_namespace.GetDefaultFolder(olFolderInbox);
    CItems l_items = l_mapiFolder.GetItems();
    m_mailItem = l_items.GetLast();
    m_mailItem.Save();
//Get infos (mail's size, from, to, conversation topic...)

CApplication, CNameSpace, CItems are generated automatically, and m_mailItem is a CMailItem object.



Solution 1:[1]

See http://www.outlookcode.com/article.aspx?id=52 for a list of your options. Essentially you can either make sure an up-to-date antivirus app is installed or use Redemption (I am its author).

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1