[Windows Mobile]触摸屏帧率和注册表问题 [英] [Windows Mobile] Touchscreen framerate and registry problem

查看:142
本文介绍了[Windows Mobile]触摸屏帧率和注册表问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

....我正在开发Windows Mobile 6游戏...正在HTC Pilgrim手机中对其进行测试....它具有触摸屏功能,但是问题是当我触摸屏幕时帧速率显着降低....

我尝试将以下项添加到注册表:

Hi there.... I´m developing a game for windows mobile 6... I´m testing it in HTC Pilgrim phone.... It have touchscreen functionality, but the problem is that when I touch the screen the frame rate is reduced significantly....

I try adding the following keys to the registry:

========================================================================================================
HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Touch\HighPriority256
HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Touch\Priority256
========================================================================================================


通过以下方式:

使用 RegCreateKeyEx() RegSetValueEx() RegCloseKey()在游戏安装完成时起作用....


In the following way:

Using RegCreateKeyEx(), RegSetValueEx() and RegCloseKey() functions when game finish it´s installation....

========================================================================================================
HKEY hkey;

DWORD dwVal = 255;

RegCreateKeyEx( HKEY_LOCAL_MACHINE, TEXT("Drivers\\BuiltIn\\Touch"), 0, 0, 0, 0, 0, &hkey, 0 );

RegSetValueEx( hkey, TEXT("HighPriority256"), 0, REG_DWORD, (CONST BYTE*)&dwVal, 1 );

RegCloseKey( hkey );


RegCreateKeyEx( HKEY_LOCAL_MACHINE, TEXT("Drivers\\BuiltIn\\Touch"), 0, 0, 0, 0, 0, &hkey, 0 );

RegSetValueEx( hkey, TEXT("Priority256"), 0, REG_DWORD, (CONST BYTE*)&dwVal, 1 );

RegCloseKey( hkey );
========================================================================================================

然后如果我重新启动电话,问题已解决,所以...真正的问题是我需要将前几行添加到注册表中并刷新它,而无需重新启动电话....

或者如果还有其他问题我可以做的事情.....告诉我....

最好的问候...

then if I reboot the phone, the problem is fixed, so... the real problem is that I need to add the previous lines into the registry and refresh it without reboot the phone....

or if there is another thing I can do..... just tell me....

best regards...

推荐答案


感谢您的发帖!我建议您在一个MS论坛之一中发布您的问题,

<身体>
MSDN论坛 » 智能设备开发 智能设备常规

位于此处:http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=34&SiteID=1.

Thank you for your post!  I would suggest posting your question in one of the MS Forums,

MSDN Forums » Smart Device Development » Smart Devices General

located here:  http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=34&SiteID=1.

祝您度过愉快的一天!


这篇关于[Windows Mobile]触摸屏帧率和注册表问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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