如何重新创建在Windows XP中工作但在Windows 7中不可用的可执行应用程序? [英] How Do I Re-create an Executable Application That Worked in Windows XP But Does Not in Windows 7?

查看:101
本文介绍了如何重新创建在Windows XP中工作但在Windows 7中不可用的可执行应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,希望有人至少可以指出我如何解决这个问题。



我们有一个开发人员为我刚加入的公司工作90几天前 - 谁为一个进程构建了这个exe。我们现在遇到的问题是它是为xp而构建的,可以在命令提示符下使用 - 现在看起来在Windows 7中运行相同(或根本不运行)(特别是Windows 7 64位,但我假设是32位Windows 7)也行不通。)



我的想法是内核可能不同所以也许这就是原因......?我想从你们所有人那里反弹一下,希望找到一个解决方案。



(在写这篇文章的时候,我们注意到这个正在开发的xp盒子目前几乎每天都有bsod'ing - 并且没有替换它的计划。



感谢您提供任何帮助!

-E

解决方案

很可能,这只是意味着您的XP程序首先不太正确。 工作并不意味着正确。 Windows 7更严格,主要是由于更合理的保护。



第一步我建议使用提升的权限运行你的应用程序,看看它是否有效办法。请参阅:

http://www.sevenforums.com/tutorials/11841 -run-administrator.html [ ^ ]。



如果它运行,则表示问题是权限。像你这样的大多数问题都会减少到你拥有的不正确的权限。您可以使用文件系统管理并添加一些权限,但更正确的方法是仅使用合法目录,而不对目标计算机上的内容做任何假设。如果您检测到权限问题并告诉我们哪些文件系统对象存在问题,我可能会给您更精确的建议。



-SA

Hello, hopefully someone can at least point me in the direction of how to fix this issue.

We had a developer working for the company I just joined 90 days ago - who built this exe for a process. The problem we have now is it was built for xp to use from a command prompt - and now that doesn't seem to operate the same (or at all) in Windows 7 (specifically windows 7 64bit, but I would assume 32bit windows 7 also wouldn't work).

My thoughts are that possibly the kernel is different so maybe that is the reason..? I wanted to bounce this one off of ya'all to hopefully find a solution.

(at the writing of this, we are noticing the xp box this is working on currently bsod'ing nearly every day - and there are no plans in place to replace it)

Thanks for any and all assistance!
-E

解决方案

Chances are, it simply means that your program for XP wasn't quite correct in first place. "Working" doesn't mean correct. Windows 7 is just more strict, mostly due to more reasonable protection.

For the first step I would recommend to run your application using elevated privileges and see if it works this way. Please see:
http://www.sevenforums.com/tutorials/11841-run-administrator.html[^].

If it runs, it means the problem is the permissions. Most problems like yours are reduced to incorrect permissions you have. You may use file system administration and add some permission, but more correct approach would be using only the legitimate directories, without making any assumptions on what is there on the target machine. If you detect the permission problem and tell us what file system objects present the problem, I'll probably give you more precise recommendations.

—SA


这篇关于如何重新创建在Windows XP中工作但在Windows 7中不可用的可执行应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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