解决办法: #define USES_IID_IMAPIProp#define INITGUID #include <initguid.h>#include "mapidefsex.h" #include "mapiguid.h"