#define INITGUID #include // This is actually CLSID_DOMDocument, but on gcc builds its defined to be like this DEFINE_GUID(CLSID_DOMDocument2, 0x2933bf90, 0x7b36, 0x11d2, 0xb2,0x0e, 0x00,0xc0,0x4f,0x98,0x3e,0x60);