(its a long story) but I have a large complex project file containing a windows program. Unfortunately the project was originally built as a console app. The program compile
Complementing Hans' answer: While under Properties, also remember to expand the C/C++ node and select Preprocessor. Then edit the Preprocessor Definitions - replace _CONSOLE with _WINDOWS.