Windows 7中的Windows 7兼容模式

时间:2015-06-02 13:54:47

标签: windows delphi

我有一个用Delphi XE5编写的应用程序,主要针对Windows 7,还有Windows 8和8.1。它确实要求用户具有管理员权限。

几乎所有用户的计算机都能正常运行,但有些只在Windows 7中为Windows 7选择兼容模式时才有效。

当启动应用程序作为窗口对话框时,错误直接显示:

[NameOfMyProgram] has stopped working.
Problem Event Name: APPCRASH
Fault Module Name: KERNELBASE.dll
Fault Module Version: 6.1.7601.18839
Exception code: 0eedfade

我的问题如下:为什么在Windows 7上有Windows 7的兼容模式,使用这种模式可能会以上述方式影响我的应用程序是什么意思?

我无法找到有关此特定兼容模式的任何文档。

1 个答案:

答案 0 :(得分:2)

当您运行Windows 7时," Windows 7"安装Windows 7 SP1时,兼容性列表中会出现选项。如果您没有安装SP1,则该选项不会显示在列表中。

该选项使Windows在程序中显示为没有安装Service Pack,这可能会影响某些API函数的行为。