I'm having a problem with Unresolved Symbols.
I'm trying to integrate the source code found here:
into a MAPI project. I'm having errors when it tries to reference the variables:
OutlookCOM error LNK2001: unresolved external symbol _CLSID_MailMessage
OutlookCOM error LNK2001: unresolved external symbol _IID_IMessage
Where CLSID_MailMessage is defined in that source code as
0x0000, 0x0000, 0xC0, 0x00, 0x0, 0x00, 0x0, 0x00, 0x00, 0x46);
in mapiguid.h there is the code
#if !defined(INITGUID) || defined(USES_IID_IMessage)
e, 0x00020307, 0, 0);
Both of the macros DEFINE_GUID and DEFINE_OLEGUID are called at the tope of my .cpp source file These vars are then referenced inside a class method in the same .cpp file.
Any thoughts as to why I am having this error: