Starting at 43: 43: #ifdef _DWIN64 44: typedef __int64 XID; 45: #else 46: typedef unsigned long XID; 47: #endif I was able to correct this by changing this to 43: #ifdef _DWIN64 44: #include 45: typedef __int64 XID; 46: #else 47: typedef unsigned long XID; 48: #endif