顯示具有 WindowsCE 標籤的文章。 顯示所有文章
顯示具有 WindowsCE 標籤的文章。 顯示所有文章

2008年6月9日 星期一

DirectShow on Windows Mobile 5/6的Debug版

Windows Mobile 5.0 PocketPC SDK和Windows Mobile 6.0 Professional SDK沒有strmbasd.lib, 所以Build Debug版有問題。難道要自己去build debug的baseclass?!

2007年10月3日 星期三

Windows CE的build

Windows CE的build都是從BldDemo.bat產生run-time image.
其中依序呼叫:
1. Cebuild.bat
2. Buildrel.bat
3. Makeimg.exe

參考: Build flow in BldDemo.bat

但是MSDN的Build phases畫的圖很怪,要先compile才sysgen?

Checko's Blog寫的更好

2007年10月1日 星期一

[WindowsCE小技巧] Build出來的東西沒有在image裡

好像常會發生,都是prebuild搞的鬼...
  1. Copy your binary, symbols, map into %_FLATRELEASEDIR%
  2. Find out what package your file is in
    1. Cd %_FLATRELEASEDIR%
    2. "findstr /i [your filename] *.bsm.xml" Ex: findstr /i nk.exe *.bsm.xml
  3. This should return a package's xml file, for example oemxipkernel.bsm.xml. This tells you that it's in the OS package.
  4. Find the prebuilt package and delete it
    1. cd prebuilt
    2. del oemxipkernel.cab.pkg
  5. Makeimg
詳全文

2007年9月30日 星期日

2007年9月21日 星期五

Windows Media Player與副檔名

Windows Media Player在播ASF, MP3 WMA和WMV時,不是用DirectShow(不確定PC上的是不是也一樣)。硬要用DirectShow的話,要改註冊檔:
[HKEY_CLASSES_ROOT\Media Type\Extensions\.xxx]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Multimedia\WMPlayer\Extensions\.xxx]
其中Runtime和和Permissions請看: File Name Extension Registry Settings

這裡也要加,不過好像也沒差...
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\MLS\Extensions]

2007年9月12日 星期三

WindowsCE的printf

WindowsCE裡有些值用printf印不出來,要用DEBUGMSG, RETAILMSG, 或ERRORMSG

等巨集,NKDbgPrintfW


The debug printf messages are invaluable at some stages of development. However, we found drawbacks when using the non-Pocket PC reference platform. Basically, ActiveSync and EVC Remote Tools were frustratingly unreliable. After a successful build and download of a Rawether sample application and the PCANDIS4 driver the EVC Remote Tools may simply refuse to connect again until the PDA was rebooted.



http://www.pocketpcjunkies.com/Uwe/Forum.aspx/wince-pb/806/May-I-print-message-via-serial-port-instead-of-using-RETAILMSG



2007年9月10日 星期一

要連WindowsMobile6請先裝SP1

用Visual Studio 2005的工具Remote Registry Editor連不到WindosMobile 6的機器,沒有錯!又要裝VS 2005 Service Pack 1 (SP1)

2007年9月6日 星期四

WindowsCE除錯


Platform Builder的Target Control Debugging Commands

WindowsCE介紹

WinHEC 2004裡的Embedded Design: Architecture and Engineering Advances有佷多WindowsCE架構的投影片。

Windows Mobile 5和6的比較
最主要好像是Exchange、Windows Live和一些messaging的東西...
from: Jason Langridge's WebLog

Windows CE5.0不支援midi的DirectShow Filter

看到這個才恍然大悟:
Effective with Windows CE 5.0, Windows CE no longer provides a MIDI filter for DirectShow. Third party solutions for MIDI support through DirectShow are still possible.
DirectShow Migration