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
question from:
https://stackoverflow.com/questions/11305633/xxxxxx-exe-is-not-a-valid-win32-application 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…