Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID

Categories

We have migrated to a new platform! Please note that you will need to reset your password to log in (your credentials are still in-tact though). Please contact lee@programmersheaven.com if you have questions.
Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Using DirectDraw on device emulator (Platform Builder 6.0 R3)

Hi all, I'm new to this group and new to winCE development.

I'm planning to develop a simple direct draw application for my device. For developing and early tests I'm using the device emulator

coming with platform builder. My problem is that ddraw sample applications (ddex1, ddex2, ...) don't run on device emulator.

In fact, as I try to run a sample, the execution stops immediately because DirectDrawCreate fails with a return value of E_FAIL

(DDERR_GENERIC).

My platform: Visual Studio 2005 with Platform Builder 6.0 R3;
In catalog I've selected DirectDraw, Minimal GDI Configuration, and Minimal GWES Configuration.

The debug log is:
...
4294914038 PID:2a7000e TID:2a8000e Failed to retrieve DirectDraw ApiSet address (ordinal 2.)
4294914041 PID:2a7000e TID:2a8000e Unable to initialize GWES hook object. DirectDraw is disabled.
4294914071 PID:400002 TID:2a8000e AddToProcessInputLocaleTable: Added process to ProcessInputLocale table, hProcess = 0x02A7000E
4294914914 PID:2a7000e TID:2a8000e DirectDraw is disabled. No GWES hook object! DirectDrawCreate fails.
4294915158 PID:400002 TID:2a8000e DlgMgr: FindDlgItem id 1 returning NULL.
4294915609 PID:400002 TID:391000a ERROR: D:Dublin2-2privatewinceosCOREOSgwewinmgrwmbase.wbase.cpp line 1337:
4294915613 PID:400002 TID:391000a !bFound, etc.
4294929677 PID:2a7000e TID:2a8000e DDEX1: DirectDrawCreate FAILED, hRet=-2147467259
DDERR_GENERIC
...

Any hints to get it work ?

Thank you in advance.


Comments

Sign In or Register to comment.