I have small C/C++ project in Visual Studio 2012 RC
This applications parses the argv and then calling another .exe file with ShellExecute
My application works perfect on Windows7 but on Windows XP x86 trhows Is not a valid Win32 application error.
I have compiled it with Mutli-thread(/MT) and Win32 Platform
This is my #includes
#include <string>
#include <iostream>
#include <Windows.h>
#include <fstream>
#include <cstdio>
#include <vector>
#include <windowsx.h>
#include <shlobj.h>
#include <stdio.h>
#include <tchar.h>
#include <direct.h>
Thanks
See Question&Answers more detail:os