博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Tips of windows mobile development
阅读量:4946 次
发布时间:2019-06-11

本文共 2097 字,大约阅读时间需要 6 分钟。

7. How to make the Chinese Cab for Windows Mobile by manual

    Step by step:
    First - make the standard Cab(Should be English version) by VS 2005 or VS 2008
    Second - Extract the Cab and Read to edit the _Setup.xml file(don't change the file default encode) in the cab fies
    Third - get the Unicode code of the characters you want to Chinese information(chinese link, App name, etc.)
               for example: '我' -> 0x1162 (you can use Hex Edit tools get the Unicode code)
    Forth - make the formart codes insert or replace the characters you show the Chinese information(link,APP Name....) in _Setup.xml.
               format: '我' -> x6211; (include all Red Characters)
    Last -  Save _Setup.xml and compress all files to CAB include _setup.xml with makecab.exe or other tools
               compress all files to CAB include _setup.xml with makecab.exe or other tools.
1. Cancel Activesync Show:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows CE Services]
"GuestOnly"=dword:00000001
2. No information in the removing programe item:
<parm name="NoUninstall" value="1" />
Enable Dialog Application behind the destop window
only make the dialog style OVERLAP, not POP .
3. Correctively calculate struct data size in Wince
struct stsizetag {
unsigned short item1;
unsigned short item2;
unsigned char item3;
}stsize;
sizeof(stsize) == 6 is not 5
add #param pack(1) in the file head, just can avoid this kind of error.
4. Remove Error In For Loop Scope
Open "project" -> "property" -> "C\C++" -> "language"
Change the setting of  "Force Conformance In For Loop Scope"  to  "No"
5. Control install path strongly(NOT show select UI)
theory: remove the %INSTALLDIR% macro
step 1:
    extract the cab (winrar)
step 2: 
    edit _setup.xml with notepad tools
     a) remove <parm name="InstallDir" value="*********" translation="install" /> 
     b) replace all of %INSTALLDIR% with absolute path
     c) save and exit
step 3:
     compress all files to CAB include _setup.xml with makecab.exe or other tools
6. Prevents a 2-Pixel highlight from being drawn at the top of the Control
    Set control style include CCS_NODIVIDER

转载于:https://www.cnblogs.com/JLMobile/archive/2008/04/14/377432.html

你可能感兴趣的文章
转载-FileZilla Server源码分析(1)
查看>>
apache 实现图标缓存客户端
查看>>
MediaWiki左侧导航栏通过特殊页面就可以设置。
查看>>
html基础之DOM操作
查看>>
几种图表库
查看>>
揭秘:黑客必备的Kali Linux是什么,有哪些弊端?
查看>>
linux系统的远程控制方法——学神IT教育
查看>>
springboot+mybatis报错Invalid bound statement (not found)
查看>>
Linux环境下SolrCloud集群环境搭建关键步骤
查看>>
SPARK安装一:Windows下VirtualBox安装CentOS
查看>>
P3565 [POI2014]HOT-Hotels
查看>>
UVa11078:Open Credit System
查看>>
MongoDB的简单使用
查看>>
git clone 遇到的问题
查看>>
hdfs 命令使用
查看>>
hdu 1709 The Balance
查看>>
prometheus配置
查看>>
react native props state 網絡請求 native組件等一些基礎知識
查看>>
定宽320 缩放适配手机屏幕
查看>>
BZOJ 2120 数颜色 【带修改莫队】
查看>>