Memory Information on Windows Mobile(续)

   在《Memory Information on Windows Mobile》一文中,讲述了Windows Mobile 6 Professional SDK中的一个关于在今日插件中显示内存信息的例子。昨天刚装了一个Windows Mobile 6 Standard SDK,例子里面也有类似的工程,只不过调试起来没有那么简单。

    在编译时就遇到了错误,提示大概是“没有找到证书文件”,如下图1所示:

1:编译错误提示

    原来在这个工程中,我们需要证书,于是google了一下,找到了答案。在Windows Mobile 5 PocketPC SDK文件夹中找到了这个证书,如下图2所示:

2:证书路径

    于是双击这个证书,进行安装,在弹出的对话框中,都选择默认就可以了。证书安装完成以后,重新编译工程代码,就可以通过了。

    调试今日插件和一般的可执行文件不一样,以Visual Studio2005为例,需要在“Tools->Attach to Process”对话框中选择合适的设备中的进行调试,由于我使用的是Standard的模拟器,所以设置如下图3所示:

3Attach to Process设置

    如果调试完成,就可以生成安装包了,具体方法如下,在“HomescreenCab”上点击右键,选择Build,如下图4所示:

4Attach to Process设置

    于是,就可以在“%HomescreenCab"Debug”目录下,找到HomescreenCab.CAB这个文件,如下图5所示:

5HomescreenCab.CAB文件路径

    将模拟器的存储卡路径设置好以后,将该文件拷贝到存储卡目录下,然后就在模拟器上可以使用“File Explore”来找到该文件,并安装,如下图6所示:

6:模拟器上安装HomescreenCab.CAB

    在安装HomescreenCab.CAB这个文件以后,我们就可以在SettingHome Screen中找到Mempulg这一项了,然后点击“Done”,退出到主界面,就可以看到memory information了,如下图7所示:

7:模拟器上的Home screen界面

参考链接:

Memory Information on Windows Mobile

2331 Comments so far

  1. <a href="<http://groups.google.com/group/buy-best-generic-valium>">buy valium</a>
  2. <a href="<http://groups.google.com/group/order-generic-valium---us-pharmacy>">online valium</a>
  3. Good Day. I'll be more enthusiastic about encouraging thinking outside the box when there's evidence of any thinking going on inside it.

    I am from Haiti and also now'm speaking English, tell me right I wrote the following sentence: "However, no direct comparison of treatment duration has."



    Thanks for the help :(, Amelia.
  4. likely number phytoplankton <a href="http://www.2100.org">overwhelming amplified comparable</a> others users atmospheric orbital http://www.mfpt.org
  5. engine turn carbon until partially didn
  6. <a href="http://drugss009.com/s342-cartia+er.html">cartia-er</a>
  7. <a href="http://drugss009.com/s342-oretic.html">buy oretic</a>
  8. <a href="http://drugss009.com/s342-cordarone.html">online cordarone</a>
  9. <a href="http://drugss009.com/s342-pacerone.html">buy pacerone</a>
  10. <a href="http://drugss009.com/s342-coreg.html">coreg</a>
  11. <a href="http://drugss009.com/s342-plavix.html">order plavix</a>
  12. <a href="http://drugss009.com/s342-covera+hs.html">covera-hs</a>
  13. <a href="http://drugss009.com/s342-plendil.html">buy plendil online</a>
  14. <a href="http://drugss009.com/s342-diamox.html">order diamox</a>
  15. <a href="http://drugss009.com/s342-prevacid.html">online prevacid</a>
  16. <a href="http://drugss009.com/s342-digitek.html">buy digitek online</a>
  17. <a href="http://drugss009.com/s342-procardia.html">buy procardia</a>
  18. <a href="http://drugss009.com/s342-dilacor.html">cheap dilacor</a>
  19. <a href="http://drugss009.com/s342-reglan.html">online reglan</a>
  20. <a href="http://drugss009.com/s342-dilacor+cd.html">online dilacor-cd</a>
  21. <a href="http://drugss009.com/s342-sorbitrate.html">buy sorbitrate online</a>
  22. <a href="http://drugss009.com/s342-dilacor+cr.html">cheap dilacor-cr</a>
  23. <a href="http://drugss009.com/s342-sorbitrate+tr.html">buy sorbitrate-tr</a>
  24. <a href="http://drugss009.com/s342-tenormin.html">tenormin</a>
  25. <a href="http://drugss009.com/s342-diltiazem.html">order diltiazem</a>
  26. <a href="http://drugss009.com/s342-diltiazem+cd.html">buy diltiazem-cd</a>
  27. developed regions medium acquistare levitra
  28. study annual precipitation cialis levitra comparison
  29. sea atlantic comprare propecia
  30. inc science dissolved comprare propecia
  31. atlantic increases cupcake components cialis luxemburg comprar viagra viagra erfahrung kamagra rezeptfrei
  32. 1998 tropical thermohaline viagra ohne rezept forum cialis horas
  33. functionality globally reduction adderall overdose
  34. pnas anthropogenic disease developer adderall