如何使您的应用“与地区兼容"? [英] How to make your app "areo-compatible"

查看:88
本文介绍了如何使您的应用“与地区兼容"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的应用不是很"windows-ish",这是一个跨平台的win/mac/linux Qt应用程序.它在XP上可以正常运行,但是启用了Aero的Visa/Win7激活了该应用程序会导致窗口从Aero切换到退出状态,然后再退出.这样很好 除了开关会产生一个全黑的屏幕,在某些情况下可以持续几秒钟.我的(简单的)问题是:如何使应用程序兼容"?使用Aero,这样在我们的应用程序运行时,窗户系统不必关闭Aero 开始吗?

对此我不了解的基本方面是,这似乎并非在所有计算机上都发生.在某些计算机上,该应用程序启动,并且在Aero环境中运行似乎没有问题,在其他情况下,上述切换发生了 (毫无疑问,这里的问题是它不是在我的开发机器上发生,而是在我没有直接访问权限的客户机器上发生).

更新:有此问题的客户提供了更多信息:我们分发了32位和64位版本的应用程序,并分发了自动切换"功能.发生在32位版本上_only _.

对我来说,一个基本问题是:是什么原因导致Windows决定某个特定的应用程序与Aero不兼容,并因此在该应用程序运行时关闭了Aero? 我知道可执行文件属性中会存在兼容性开关,这些兼容性开关将导致切换,但在这种情况下它们均处于关闭状态.

感谢您的收听!

解决方案

您好,

欢迎来到MSDN论坛!

我认为有很多因素会影响Windows是否启动应用程序以及关闭航空主题.  有关详细信息,请参见 & Windows 7兼容性中心 .

此外,您是否尝试过以Windows XP兼容模式运行该应用程序?

其他参考:使较早的程序在此版本的Windows中运行, .

早上好!

最好的问候,
孙灵芝

MSDN订户支持 在论坛中

如果您对我们的支持有任何反馈,请联系 msdnmg@microsoft.com


Hi,

Our app is not very "windows-ish" it's a cross-platform win/mac/linux Qt app.  It works fine on XP, but Visa/Win7 with Aero enabled, activating the app causes windows to switch away from Aero and then back on exit.  This would be fine except the switch generates a completely black screen that can last in some cases for seconds.  My (simplistic) question is: How can the app be made "compatible" with Aero, so that the window system doesn't have to switch Aero off when our app starts ?

On fundamental aspect of this that I don't understand is that this doesn't seem to happen on all machines.  On some machines the app starts and seems to have no problem running in the Aero environment, in other cases, the switch mentioned above happens (no doubt one problem here is that it doesn't happen on my dev machines, but does on customers' machines, to which I don't have direct access).

Update: some more info from the customer that's having this problem: we distribute both 32 and 64bit versions of our app, and the "aero swtiching" occurs _only_ on the 32bit version. 

The fundamental question for me: What causes Windows to decide that a particular app is not compatible with Aero, and to therefore switch Aero off while the app runs ?   I know that there are compatibility switches in the executable properties that will cause the switching, but they are all off in this case.

Thanks for listening!

解决方案

Hello,

 

Welcome to MSDN forums!

 

I think there are many factors can affect whether Windows launch an app and turn off aero theme.  I would recommend you check the compatibility of your app first.  For detail, please see Windows Vista Compatibility Center & Windows 7 Compatibility Center. 

 

Besides, have you tried to run the app in Windows XP compatibility mode?  

 

Additional references: Make older programs run in this version of Windows, http://windows.microsoft.com/en-us/windows7/Make-older-programs-run-in-this-version-of-Windows. 

 

Good day!

 

 

Best Regards,
Lingzhi Sun

MSDN Subscriber Support in Forum

If you have any feedback on our support, please contact msdnmg@microsoft.com


这篇关于如何使您的应用“与地区兼容"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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