Otázka je, v čom to stvoril. Ak v C/C++ vo Visual Studiu, tak musí pri kompilácii použiť platform toolset pre Windows XP.