warptrosse
Posts: 3
Score: 0
Joined: 9/11/2008
Status: offline
|
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 ======================================================================================================== 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...
|