I need a C++ application to get Outlook contacts (from my local Outlook application)
I found this old example:
But when I try to compile the code in my VS 2017 (once Outlook paths changed to mine) I get some errors in 'msoutl.tlh' file, autogenerated while compilation:
\msoutl.tlh(6015): error C3121: cannot change GUID for class 'Folder'
error C2556: 'AddressEntryPtr _AppointmentItem::GetOrganizer(void)': overloaded function differs only by return type from '_bstr_t _AppointmentItem::GetOrganizer(void)'
error C2371: '_AppointmentItem::GetOrganizer': redefinition; different basic types
Maybe I have something wrong in project configuration...