游戏开发论坛

 找回密码
 立即注册
搜索
查看: 3491|回复: 5

dx9b access violation

[复制链接]

1

主题

9

帖子

9

积分

新手上路

Rank: 1

积分
9
发表于 2003-10-30 13:03:00 | 显示全部楼层 |阅读模式
First-chance exception in CreateDevice.exe (MSCTF.DLL): 0xC0000005: Access Violation.
First-chance exception in CreateDevice.exe (MSCTF.DLL): 0xC0000005: Access Violation.
First-chance exception in CreateDevice.exe (MSCTF.DLL): 0xC0000005: Access Violation.
First-chance exception in CreateDevice.exe (MSCTF.DLL): 0xC0000005: Access Violation.
First-chance exception in CreateDevice.exe (MSCTF.DLL): 0xC0000005: Access Violation.
First-chance exception in CreateDevice.exe (MSCTF.DLL): 0xC0000005: Access Violation.
First-chance exception in CreateDevice.exe (MSCTF.DLL): 0xC0000005: Access Violation.
First-chance exception in CreateDevice.exe (MSCTF.DLL): 0xC0000005: Access Violation.
First-chance exception in CreateDevice.exe (MSCTF.DLL): 0xC0000005: Access Violation.
First-chance exception in CreateDevice.exe (MSCTF.DLL): 0xC0000005: Access Violation.
First-chance exception in CreateDevice.exe (MSCTF.DLL): 0xC0000005: Access Violation.
First-chance exception in CreateDevice.exe (MSCTF.DLL): 0xC0000005: Access Violation.
First-chance exception in CreateDevice.exe (MSCTF.DLL): 0xC0000005: Access Violation.
First-chance exception in CreateDevice.exe (MSCTF.DLL): 0xC0000005: Access Violation.
First-chance exception in CreateDevice.exe (MSCTF.DLL): 0xC0000005: Access Violation.
First-chance exception in CreateDevice.exe (MSCTF.DLL): 0xC0000005: Access Violation.
First-chance exception in CreateDevice.exe (MSCTF.DLL): 0xC0000005: Access Violation.
First-chance exception in CreateDevice.exe (MSCTF.DLL): 0xC0000005: Access Violation.
First-chance exception in CreateDevice.exe (MSCTF.DLL): 0xC0000005: Access Violation.
First-chance exception in CreateDevice.exe (MSCTF.DLL): 0xC0000005: Access Violation.
First-chance exception in CreateDevice.exe (MSCTF.DLL): 0xC0000005: Access Violation.
First-chance exception in CreateDevice.exe (MSCTF.DLL): 0xC0000005: Access Violation.
First-chance exception in CreateDevice.exe (MSCTF.DLL): 0xC0000005: Access Violation.
First-chance exception in CreateDevice.exe (MSCTF.DLL): 0xC0000005: Access Violation.
First-chance exception in CreateDevice.exe (MSCTF.DLL): 0xC0000005: Access Violation.
First-chance exception in CreateDevice.exe (MSCTF.DLL): 0xC0000005: Access Violation.
First-chance exception in CreateDevice.exe (MSCTF.DLL): 0xC0000005: Access Violation.
First-chance exception in CreateDevice.exe (MSCTF.DLL): 0xC0000005: Access Violation.
First-chance exception in CreateDevice.exe (KERNEL32.DLL): 0xC0000005: Access Violation.
First-chance exception in CreateDevice.exe (KERNEL32.DLL): 0xC0000005: Access Violation.
First-chance exception in CreateDevice.exe (KERNEL32.DLL): 0xC0000005: Access Violation.
First-chance exception in CreateDevice.exe (KERNEL32.DLL): 0xC0000005: Access Violation.
First-chance exception in CreateDevice.exe (KERNEL32.DLL): 0xC0000005: Access Violation.
First-chance exception in CreateDevice.exe (KERNEL32.DLL): 0xC0000005: Access Violation.
First-chance exception in CreateDevice.exe (KERNEL32.DLL): 0xC0000005: Access Violation.

疑惑ing, 首先敢肯定不是代?的???,因??包括dx9b的所有例子代?在debug下都??写诵畔?蟾妗

跟?????出?在C Runtime的exit?面的一段内存在?放后被引用,而?段内存???樵?reatewindow?用是分配的(??器生成代?).

system        :  windows xp
develop env :  dx9b sdk, vc++6.0 & sp5



[em15] [em15]

1

主题

9

帖子

9

积分

新手上路

Rank: 1

积分
9
 楼主| 发表于 2003-10-30 13:11:00 | 显示全部楼层

Re: dx9b access violation

不? dx9 的事,??普通windows程序在debug?r,都??陉P?后,在output冒出?些?死的信息。

1万

主题

1万

帖子

2万

积分

管理员

中级会员

Rank: 9Rank: 9Rank: 9

积分
20484
发表于 2003-10-30 14:55:00 | 显示全部楼层

Re:dx9b access violation

用Release版的DX9 SDK试试。

2

主题

106

帖子

114

积分

注册会员

Rank: 2

积分
114
QQ
发表于 2003-10-30 15:33:00 | 显示全部楼层

Re:dx9b access violation

可能是因为你的windows系统运行了某种监控程序,看看有哪些程序在自动运行。
这不是程序错误,只有在debug模式才会出现,release则不会。

15

主题

109

帖子

109

积分

注册会员

Rank: 2

积分
109
QQ
发表于 2003-10-30 17:00:00 | 显示全部楼层

Re:dx9b access violation

指针错误,最好先查一下自己的程序部分!

1

主题

9

帖子

9

积分

新手上路

Rank: 1

积分
9
 楼主| 发表于 2003-10-31 10:01:00 | 显示全部楼层

Re: dx9b access violation

因为最近winxp有过多次自动更新,怀疑是不是这个问题。确定非法访问的内存是CreateWindow里面分配的,ShowWindow也会改变这块内存的值。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

作品发布|文章投稿|广告合作|关于本站|游戏开发论坛 ( 闽ICP备17032699号-3 )

GMT+8, 2025-4-29 15:03

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表