2009年2月4日 星期三

Porting from windows to windows mobile

很多open source的software都有embedded visual c++的版本以及Windows XP上的版本. 但是要把這些software porting到windows mobile 6.0上,經常要把專案檔改成vs2005的格式.

eVC++ 到 VS2005專案檔的轉換, 微軟有一個網頁在說明.
Migrating Microsoft eMbedded Visual C++ Projects to Visual Studio 2005
http://msdn.microsoft.com/en-us/library/ms838254.aspx

Step by Step: Migrating an eMbedded Visual C++ Application to Visual Studio 2005
http://msdn.microsoft.com/en-us/library/aa454893.aspx


另外還有一個問題就是open source software使用到很多GNU的C程式庫(套一句行話, GNU Platform SDK), 很多標頭檔(header file), APIs有可能在Windows CE/Mobile上面並沒有實作.
所以要想辦法去補齊這些缺漏的部分.

例如, time.h, struct tm資料結構以及gmtime()在CE上就沒有支援.

沒有留言:

張貼留言