// in P3Dv4 the simconnect.h does not include windows.h // here we include windows.h first #ifndef BLACKSIMPLUGIN_FSX_SIMCONNECTWINDOWS_H #define BLACKSIMPLUGIN_FSX_SIMCONNECTWINDOWS_H #ifndef NOMINMAX #define NOMINMAX #endif #include #include #endif // guard