找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 97|回复: 1

[开发日志]BaseFX-D3D错误

[复制链接]

20

主题

10

回帖

126

积分

管理员

积分
126
发表于 2025-7-8 00:10:34 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?立即注册

×
问题EAX:
cshell!CBaseFX::GetParent+20 [f:\gamecode\suddensiege\shared\basefx.h @ 349]
05d76190 8b400c          mov     eax,dword ptr [eax+0Ch]

错误信息:
INVALID_POINTER_READ_c0000005_cshell.dll!CBaseFX::GetParent

原因:
空指针异常

原代码:
  1.                         HOBJECT                                                        GetParent()                const                        { return m_hParent; }
复制代码

新代码:
  1.                         HOBJECT                                                        GetParent()                const                        {
  2.                                 if (this == NULL) {
  3.                                         return NULL;
  4.                                 }
  5.                                 return m_hParent;
  6.                         }
复制代码



1

主题

42

回帖

97

积分

注册会员

积分
97
发表于 2025-9-1 04:02:21 | 显示全部楼层

Best Sites

skaskanew.ru source gratiavitae visit the site for details slame-rp.ru page agrorubo.ru example flamandrose.ru click here to learn more fantastikmir see more pavel3333 visit the site vladgate.ru vladgate.ru vr-point.ru link homeimprovementstore.ru click here to learn more craftingmaterials that modernlighting.ru details digitalartprints.ru see more beautyandwellness click here
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|突击重围

GMT+8, 2025-9-9 01:56 , Processed in 2.051029 second(s), 21 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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