我有一个用Delphi XE5编写的应用程序,它主要针对Windows 7,但也针对Windows 8和8.1。它确实要求用户具有管理员权限。
它在几乎所有用户的计算机上都能正常工作,但只有在Windows 7中选择Windows 7兼容模式时,它才能正常工作。
当将应用程序作为windows对话框启动时,错误直接出现:
[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上存在兼容模式,使用这种模式会以上述方式影响我的应用程序意味着什么?
我还没有找到任何关于这种特定兼容性模式的文档。
发布于 2015-06-02 15:37:34
运行Windows 7时,安装了Windows7 SP1时,“Windows7”选项将出现在兼容性列表中。如果没有安装SP1,则该选项将不会出现在列表中。
该选项使Windows在程序中看起来似乎没有安装service,这可能会影响某些API函数的行为。
https://stackoverflow.com/questions/30598123
复制相似问题