Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
621 views
Welcome To Ask or Share your Answers For Others

Please log in or register to answer this question.

Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...