xxxxxx.exe不是有效的Win32应用程序 [英] xxxxxx.exe is not a valid Win32 application

查看:904
本文介绍了xxxxxx.exe不是有效的Win32应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Visual Studio中的小C / C ++项目2012 RC

I have small C/C++ project in Visual Studio 2012 RC

该应用程序解析的argv,然后调用与的ShellExecute

This applications parses the argv and then calling another .exe file with ShellExecute

我的应用程序完美的作品上的Windows7,但在Windows XP x86的trhows是不是有效的Win32应用程序错误。

My application works perfect on Windows7 but on Windows XP x86 trhows Is not a valid Win32 application error.

我跟辑阵线程(/ MT)和编译它的Win32平台

I have compiled it with Mutli-thread(/MT) and Win32 Platform

这是我的#包括

#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>

感谢

推荐答案

VS 2012的应用程序无法在Windows XP下运行。

VS 2012 applications cannot be run under Windows XP.

请参阅此 VC ++博客为什么和如何使它的工作。

See this VC++ blog on why and how to make it work.

这似乎是从2013年2月/支持可能见 noelicus回答以下如何。

It seems to be supported/possible from Feb 2013. See noelicus answer below on how to.

这篇关于xxxxxx.exe不是有效的Win32应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆