如何避免程序操纵程序兼容性助手 [英] how can I avoid the program to rigger the program compatibility assistant

查看:50
本文介绍了如何避免程序操纵程序兼容性助手的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我编译了一个在32位环境下运行的程序,现在我在64位计算机上运行该程序,它总是弹出一个消息框,通知我该程序与操作系统不兼容,我在Google上搜索并找到了一些有关此问题的文章,其中说exe文件需要一个清单文件,但是当我将清单文件添加到exe文件时,当我运行该程序时消息仍然弹出.任何人都知道如何解决此问题?感谢所有帮助〜

I compile a program which under 32bits environment, now I run the program on a 64bits computer, it always pop out a messagebox which informed me that the program is not compatible to the OS, I googled and found some articles about this problem ,which said that the exe file needs a manifest file ,but when i added the manifest file o the exe file ,the message still pop out when I run the program .anyone know how to solve this ?thank for all the help ~

推荐答案

在带有VS 2005的64位OS中运行应用程序的过程:
1)开始->程序-> Microsoft Visual Studio 2005,现在检查命令提示符,其中包含"x64检查构建环境"行.它可能在工具中.只需检查一次即可.
2)打开此命令提示符.
3)输入devenv并执行.
4)现在,IDE已打开.比选择将win32配置为x64并构建您的程序.
5)您可以找到一个名为x64的文件夹.现在执行此可执行文件.

在VS2008和VS 2010中:我不确定它们是否具有x64构建环境.可能是您可以直接打开IDE并将win32更改为x64.
注意:我目前没有任何IDE,可能某些步骤部分正确,但是借助该过程,您可以创建x64的内部版本.
Procedure to run your application in 64 bit OS with VS 2005:
1) Start-> Program-> Microsoft Visual Studio 2005, now check the command prompt that contains the line "x64 check built environment".It may be in tools. just check it once.
2)Open this command prompt.
3) Type devenv and execute it.
4) now the IDE is open. Than select configuration win32 to x64 and build your program.
5) You can find one folder with name x64. Now execute this executable.

In VS2008 and VS 2010: I am not sure that they have x64 build environment. It might be you can directly open the IDE and change win32 to x64.
Note: I do not have any IDE right now, may be some steps are partially correct but with the help of that procedure you can create a build of x64.


这篇关于如何避免程序操纵程序兼容性助手的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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