PDA

View Full Version : DirectDraw for WM6 with working example avaliable



LYH1
19-07-2009, 01:44 PM
Sorry for cross posting.
The header is working fine , but dont expect it is quite useful at this moment.
Because not all WM device support DirectDraw, you may also need VC++(not express) and WM SDK to check what is going wrong.
If you really need DirectDraw for some reason, here should be a good start point.

Dont know may the example work on WM5 SDK/EMU that can download from M$ for free.
The follow link with 2 example.
'DDraw WM single surface' : BitBlt a jpg file to DirectDraw Surface directly, work with WM6 Emu and My HTC Touch Pro
'DDraw WM double buffer' : BitBlt a jpg file to DirectDraw Back Surface and Blt to primary surface. I got E_OutOfMemory on my HTC Device, but work fine in emulator.


http://cid-b09cde3cb849642d.skydrive.live.com/self.aspx/Public/wince%7C_dev%7C_v3.zip

Enjoy and hope something like DelphiX for CE will come out some day!