5049|10

78

帖子

0

TA的资源

一粒金砂(初级)

楼主
 

WinCE 6.0下DirectDraw Sample运行出错,Why? [复制链接]

运行目录public\directx\sdk\samples\ddraw\src\DDex1的程序,结果Display driver doesn't support flipping surfaces,提示GWES Hook fails surface creation. IDirectDraw::CreateSurface fails.why?
VS2005,OS Design时direct的已经选了

最新回复

Mark  详情 回复 发表于 2008-1-15 10:00
点赞 关注

回复
举报

80

帖子

0

TA的资源

一粒金砂(初级)

沙发
 
一般设备都不支持DirectDraw,只支持D3D,这个和驱动有关。
 
 

回复

73

帖子

0

TA的资源

一粒金砂(初级)

板凳
 
嗯,我也遇到相同的问题了,编译之后放到Windows Mobile 5.0上,出现同样的错误
 
 
 

回复

65

帖子

0

TA的资源

一粒金砂(初级)

4
 
WinCE不支持DirectDraw吗?
 
 
 

回复

60

帖子

0

TA的资源

一粒金砂(初级)

5
 
结果信息:
Run Programs s ddex1
117081 PID:400002 TID:3e60006 RELFSD: Opening file ddex1.exe from desktop
117556 PID:3e50006 TID:3e60006 OSAXST1: >>> Loading Module 'coredll.dll' (0x97FFE6CC) at address 0x40010000-0x40121000 in Process 'ddex1.exe' (0x95504480)
117567 PID:3e50006 TID:3e60006 OSAXST1: >>> Loading Module 'ddex1.exe' (0x95504480) at address 0x00010000-0x00015000 in Process 'ddex1.exe' (0x95504480)
PB Debugger Loaded symbols for 'E:\WINCE600\OSDESIGNS\OSDESIGN6\OSDESIGN6\RELDIR\DEVICEEMULATOR_ARMV4I_DEBUG\DDEX1.EXE'
s ddex1  10:33:35 11/13/2007 中国标准时间
End s ddex1  10:33:36 11/13/2007 中国标准时间

118603 PID:3e50006 TID:3e60006 Heap Statistics at 0x4010BA88
PB Debugger Loaded symbols for 'E:\WINCE600\OSDESIGNS\OSDESIGN6\OSDESIGN6\RELDIR\DEVICEEMULATOR_ARMV4I_DEBUG\DDRAW.DLL'
118655 PID:400002 TID:3e60006 RELFSD: Aborting CreateFile of DDRAW.dll since module was found in rom
118655 PID:400002 TID:3e60006 OSAXST1: >>> Loading Module 'ddraw.dll' (0x95617BB8) at address 0x417B0000-0x417CA000 in Process 'NK.EXE' (0x823FFAA0)
118657 PID:3e50006 TID:3e60006 OSAXST1: >>> Loading Module 'ddraw.dll' (0x95617BB8) at address 0x417B0000-0x417CA000 in Process 'ddex1.exe' (0x95504480)
119582 PID:3e50006 TID:3e60006 DirectDraw Debug Runtime in use.
119597 PID:400002 TID:3e60006 AddToProcessInputLocaleTable: Added process to ProcessInputLocale table, hProcess = 0x03E50006
120349 PID:400002 TID:38d0006 ERROR: C:\ymzki\private\winceos\COREOS\gwe\winmgr\wmbase\.\wbase.cpp line 1325:
120351 PID:400002 TID:38d0006 !bFound, etc.
120869 PID:3e50006 TID:3e60006 GWES Hook fails surface creation. IDirectDraw::CreateSurface fails.
120939 PID:3e50006 TID:3e60006 DDEX1: ******** Display driver doesn't support flipping surfaces. ********
121433 PID:400002 TID:3e60006 DeleteFromProcessInputLocaleTable: Deleted process from ProcessInputLocale table, hProcess: 0x03E50006
121443 PID:3e50006 TID:3e60006 OSAXST1: <<< Unloading Module 'coredll.dll' (0x97FFE6CC) at address 0x40010000-0x40121000 in Process 'ddex1.exe' (0x95504480)
121449 PID:3e50006 TID:3e60006 OSAXST1: <<< Unloading Module 'ddraw.dll' (0x95617BB8) at address 0x417B0000-0x417CA000 in Process 'ddex1.exe' (0x95504480)
PB Debugger Unloaded symbols for 'E:\WINCE600\OSDESIGNS\OSDESIGN6\OSDESIGN6\RELDIR\DEVICEEMULATOR_ARMV4I_DEBUG\DDRAW.DLL'
121456 PID:3e50006 TID:3e60006 OSAXST1: <<< Unloading Module 'ddraw.dll' (0x95617BB8) at address 0x417B0000-0x417CA000 in Process 'ddex1.exe' (0x95504480)
PB Debugger Unloaded symbols for 'E:\WINCE600\OSDESIGNS\OSDESIGN6\OSDESIGN6\RELDIR\DEVICEEMULATOR_ARMV4I_DEBUG\DDEX1.EXE'
121506 PID:3e50006 TID:3e60006 OSAXST1: <<< Unloading Module 'ddex1.exe' (0x95504480) at address 0x00010000-0x00015000 in Process 'ddex1.exe' (0x95504480)
 
 
 

回复

69

帖子

0

TA的资源

一粒金砂(中级)

6
 
首先要使用支持DDraw的LCD driver,
其次要在driver里加入支持flip属性
 
 
 

回复

80

帖子

0

TA的资源

禁止访问

7
 
提示: 作者被禁止或删除 内容自动屏蔽
 
 
 

回复

74

帖子

0

TA的资源

一粒金砂(初级)

8
 
我也碰到了啊!不过出错有点不一样,好像出错还要早几步,搂主问题解决了吗

TID:d72def5a 0x97652aa0: RELFSD: Opening file ddex1.exe from desktop
6464853 PID:d733c002 TID:d72def5a 0x97652aa0: >>> Loading module coredll.dll at address 0x03EF0000-0x03FF2000 (RW data at 0x01FFE000-0x01FFF5C5)
6464857 PID:379c3632 TID:d72def5a 0x97652aa0: RELFSD: Aborting CreateFile of DDRAW.dll since module was found in rom
6464863 PID:d733c002 TID:d72def5a 0x97652aa0: >>> Loading module ddraw.dll at address 0x01300000-0x01328000
Loaded symbols for 'C:\WINCE500\PBWORKSPACES\TESTSMP8634\RELDIR\SMP863X_MIPSII_DEBUG\DDRAW.DLL'
6464865 PID:d733c002 TID:d72def5a 0x97652aa0: >>> Loading module ddex1.exe at address 0x10010000-0x10015000
Loaded symbols for 'C:\WINCE500\PBWORKSPACES\TESTSMP8634\RELDIR\SMP863X_MIPSII_DEBUG\DDEX1.EXE'
6464893 PID:d733c002 TID:d72def5a 0x97652aa0: InitSharedHeap: 46000000 0 c
6464893 PID:d733c002 TID:d72def5a 0x97652aa0:   InitSharedHeap: return 46000060
6464926 PID:1758fdca TID:d72def5a 0x97652aa0: AddToProcessInputLocaleTable: Added process to ProcessInputLocale table, hProcess = 0xD733C002
6465040 PID:1758fdca TID:d72def5a DDRAW: DirectDrawObjectCreate: Exception encountered validating driver parameters
6465041 PID:1758fdca TID:d72def5a DDRAW: DirectDrawCreate: Display driver isn't DDraw enabled
6465042 PID:d733c002 TID:d72def5a DDEX1: DirectDrawCreate FAILED
6465144 PID:d733c002 TID:d72def5a 0x97652aa0: <<< Unloading module ddraw.dll at address 0x01300000-0x01328000
Unloaded symbols for 'C:\WINCE500\PBWORKSPACES\TESTSMP8634\RELDIR\SMP863X_MIPSII_DEBUG\DDRAW.DLL'
6465146 PID:d733c002 TID:d72def5a 0x97652aa0: <<< Unloading module ddex1.exe at address 0x10010000-0x10015000
Unloaded symbols for 'C:\WINCE500\PBWORKSPACES\TESTSMP8634\RELDIR\SMP863X_MIPSII_DEBUG\DDEX1.EXE'
6465151 PID:1758fdca TID:d72def5a 0x97652aa0: DeleteFromProcessInputLocaleTable: Deleted process from ProcessInputLocale table, hProcess: 0xD733C002
6465152 PID:d733c002 TID:d72def5a 0x97652aa0: <<< Unloading module coredll.dll at address 0x03EF0000-0x03FF2000 (RW data at 0x01FFE000-0x01FFF5C5)
6466749 PID:d7994bf2 TID:b757136a 0x9765a800: MainIoctl
 
 
 

回复

61

帖子

0

TA的资源

一粒金砂(初级)

9
 
这个是driver的问题,不支持directdraw功能,除非你修改display drvier,要不然没有办法
 
 
 

回复

65

帖子

0

TA的资源

一粒金砂(初级)

10
 
受教
 
 
 

回复

82

帖子

0

TA的资源

一粒金砂(初级)

11
 
Mark
 
 
 

回复
您需要登录后才可以回帖 登录 | 注册

查找数据手册?

EEWorld Datasheet 技术支持

相关文章 更多>>
关闭
站长推荐上一条 1/7 下一条

 
EEWorld订阅号

 
EEWorld服务号

 
汽车开发圈

About Us 关于我们 客户服务 联系方式 器件索引 网站地图 最新更新 手机版

站点相关: 国产芯 安防电子 汽车电子 手机便携 工业控制 家用电子 医疗电子 测试测量 网络通信 物联网

北京市海淀区中关村大街18号B座15层1530室 电话:(010)82350740 邮编:100190

电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号 Copyright © 2005-2025 EEWORLD.com.cn, Inc. All rights reserved
快速回复 返回顶部 返回列表