 <p>Problem temporarily solved by commenting a check in atlcore.h :</p> <h1>if _WIN32_WINNT > 0x0501</h1> <p>//#error This file requires _WIN32_WINNT to be #defined at least to 0x0403. Value 0x0501 or higher is recommended.</p> <h1>endif</h1> <p>I know it isnt the right way to do [ editing a file shipped by the IDE ] but did since it may be due to Improper installation. </p> <p>If anyone come across a permanent fix let me know .</p>