CAB file installation failure when inf file contains negative registry values
Inf files are used to generate cab files containing files and registry settings which get deployed on the device when cab file is installed.
Problem: If a DWORD Registry value is set to a value greater than 0x7FFFFFFF, the cab file installation fails on the device. This is probably a bug in the cab wizard tool (cabwiz.exe).
For e.g. Installation will fail if following registry entry is specified in the inf file
HKLM,Software\MyApp,MyValue,0x00010001,-1
Here -1 is equal to dword 0xFFFFFFFF which is greater than 0x7FFFFFFF.
Workaround is to use a short int equivalent of the negative number, in this case 65535 and when the value is to be used by device side module, use short int to use this value as -1.
Problem: If a DWORD Registry value is set to a value greater than 0x7FFFFFFF, the cab file installation fails on the device. This is probably a bug in the cab wizard tool (cabwiz.exe).
For e.g. Installation will fail if following registry entry is specified in the inf file
HKLM,Software\MyApp,MyValue,0x00010001,-1
Here -1 is equal to dword 0xFFFFFFFF which is greater than 0x7FFFFFFF.
Workaround is to use a short int equivalent of the negative number, in this case 65535 and when the value is to be used by device side module, use short int to use this value as -1.
Switching views in Windows Mobile Calendar application
Default calendar application on your Windows Mobile device can show different views namely Agenda, Daily, Weekly, Monthly and Yearly appointments. You can tap on Menu -> View and then select one of these views.
A handy little trick is to repeatedly press hardware Calendar button to switch among these views. Note: You can use Buttons applet in Settings to assign any hardware button to Calendar application, even though there is generally one button preassigned to this application.
A handy little trick is to repeatedly press hardware Calendar button to switch among these views. Note: You can use Buttons applet in Settings to assign any hardware button to Calendar application, even though there is generally one button preassigned to this application.
Switching views in Windows Mobile Calendar application
Default calendar application on your Windows Mobile device can show different views namely Agenda, Daily, Weekly, Monthly and Yearly appointments. You can tap on Menu -> View and then select one of these views.
A handy little trick is to repeatedly press hardware Calendar button to switch among these views. Note: You can use Buttons applet in Settings to assign any hardware button to Calendar application, even though there is generally one button preassigned to this application.
A handy little trick is to repeatedly press hardware Calendar button to switch among these views. Note: You can use Buttons applet in Settings to assign any hardware button to Calendar application, even though there is generally one button preassigned to this application.
Switching views in Windows Mobile Calendar application
Default calendar application on your Windows Mobile device can show different views namely Agenda, Daily, Weekly, Monthly and Yearly appointments. You can tap on Menu -> View and then select one of these views.
A handy little trick is to repeatedly press hardware Calendar button to switch among these views. Note: You can use Buttons applet in Settings to assign any hardware button to Calendar application, even though there is generally one button preassigned to this application.
A handy little trick is to repeatedly press hardware Calendar button to switch among these views. Note: You can use Buttons applet in Settings to assign any hardware button to Calendar application, even though there is generally one button preassigned to this application.
Increase or decrease system font size
Decreasing the system font size can show more content in the same screen area. Similarly you can increase the font size to increase the readability.
Go to Start -> Settings -> System tab -> Screen -> Text Size tab and move the slider around.
As mentioned there, the font size change is not guaranteed to work for all applications as many apps keep their own font values, overriding the system defaults. It also does not seem to work on text inside menus. The technique should however work on most microsoft inbuilt applications.
Go to Start -> Settings -> System tab -> Screen -> Text Size tab and move the slider around.
As mentioned there, the font size change is not guaranteed to work for all applications as many apps keep their own font values, overriding the system defaults. It also does not seem to work on text inside menus. The technique should however work on most microsoft inbuilt applications.

0 comments:
Post a Comment