I need to write a program that will run on a intel atom d525 processor with windows xp installed. I am using Parallel Studio 2013 with Visual Studio 2012.
When I tried running my code on the machine with windows XP I got the following error:
... is not a valid win32 application.
After some initial research I found out that this was because the console application compiled with Visual C++ uses windows APIs that are not available in windows XP and it has provided a special compiler with which you can compile code that is compatible for windows XP.
This is all very well, and I got this to work. The problem is that I need to highly optimise the code, and I was planning on using the intel C++ compiler to do this. However I have not found a way to compile code with the Intel C++ compiler that is compatible on windows XP.
I tried using
#define _WIN32_WINNT 0x0502
but maybe I did something wrong, because that did not seem to do anything.
I do not necessaraly need to use a console application, just some way to start the program in windows XP.