Embedded Intel Atom® Processors
Technological Conversations about Intel Atom® Hardware, Software, Firmware, Graphics
1155 Discussions

Can't create DirectDraw object on WinCE 6.0 R2

진이3
Beginner
2,591 Views

To whom it may concern

sorry for the crude english.

I am using Atom + 945GSE chipset with WinCE 6.0 R2.

I checked DirectDraw and AlphaBlending (GDI version) of Catalog Items,

and I did Build and Sysgen, SDK, and then installed SDK.

And then I was built DDEX4 sample code(\%WINCEROOT\%\PUBLIC\DIRECTX\SDK\SAMPLES\DDRAW\SRC\DDEX4).

And it successed. But it failed at DirectDrawCreate with E_FAIL code(0x80004005).

I was google regarding that problem. But I can't find any solution.

Unfortunately I can't using any debugger except serial port because target has not debug interface.

Perhaps, can't 945GSE support DirectDraw?

Could anybody help me?

0 Kudos
7 Replies
Kirk_B_Intel
Employee
855 Views

Atom+945GSE can support DirectDraw but what works depends on the specific DRIVER you are trying to use. If you are using the default 'VGA" driver that comes with WCE, then there is very limited support and it would not surprise me that DD does not work.

I would suggest using the IEGD driver which can support up to D3DM on WCE. You can find the IEGD driver at intel.com\go\iegd.

Hope that helps.

0 Kudos
진이3
Beginner
855 Views

thank you for reply.

of course, i am using iegd 2.4.

and i did NOT checked "Disable Direct3D".

do you know that how to validate to run iegd normally?

by the way, what relation is between ddraw and d3d?

0 Kudos
Kirk_B_Intel
Employee
855 Views

IEGD 2.4 would be VERY odd since we are currently shipping 10.x.

D3Dm is the 3D api for Ddraw. Details would be best obtained from the provider of the operating system. http://www.msdn.com http://www.msdn.com" rel="nofollow">www.msdn.com is a good place to start.

The best wau to run IEGD normally is to follow the User's Guide and basically leave most of the configuration options set to default, then follow the section in the User's Guide for integrating IEGD into WCE so that you are SURE you are on the full driver.

Hope this helps.

0 Kudos
진이3
Beginner
855 Views

Oh! Sorry I confused.

I don't know why I recognized to use 2.4.

Anyway I'm using IEGD 10.3.1. Of course, I follow User's Guide.

But it didn't works. :(

I was tried to add DCOM component and COM component.

But I have still a problem.

Maybe... do you know QFE about this?

0 Kudos
진이3
Beginner
855 Views

I did it!

Solution of problem is QFE Update and R3 edtion.

I was updated WCE version to R3 and applied QFE 2010-03 for USB Mass Storage.

Just in case, I ran ddex sample application.

Brilliant. It worked perfactly.

Thank you for hint and inspiration.

And I hope that working for NOTHING other engineer find the light.

0 Kudos
FMcNu1
Valued Contributor I
855 Views

Hello VectorCoil:

It is great that you were successful. Thank you for sharing the solution with the community.

Felix

0 Kudos
Kirk_B_Intel
Employee
855 Views

Good news, I will cancel the engineering request I started about this, and see if the USer's Guide or FAQ here needs to be updated.

Ahhh, yes those pesky Microsoft updates can definitely trip up a Windows CE development effort. We usually try to include a list of the needed revisions and QFEs in the User's Guide. Sometimes it is not clear what Microsoft changed to either break or allow the driver to work. Thank you for sharing!!!

Kirk

0 Kudos
Reply