I notice that header file mscompge.fdf starts with a duplicate #define...
#pragma once #include "mscompge.h" BEGIN_EXTERN_C #define POLYFILL_EXTERIOR_EDGE 0x01 #define POLYFILL_EXTERIOR_EDGE 0x01
The C++ compiler will notice this and issue a warning or error.