Jump to content
  • Advertisement
Sign in to follow this  
bfi3d

break in d3d9.dll, how to fix it

This topic is 3805 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi, friends! I have coded a d3d program, but when I execute it, a error dialog poped up. It says some illegal access in the memory, and breaked in d3d9.dll. What I can see in the invoke stack window is just like the following: d3d9.dll! 4fec9697() d3d9.dll! 4fe61347() ... ... I have also checked carefully, and found the error happened in invoking "drawIndexedPrimitivesUp()". And what else I have known is that: the error happened after setting some texture stage states. How to debug it in detail? What methods could be used? Thanks!

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by bfi3d
hi, friends!
I have coded a d3d program, but when I execute it, a error dialog poped up.
It says some illegal access in the memory, and breaked in d3d9.dll. What I can see in the invoke stack window is just like the following:

d3d9.dll! 4fec9697()
d3d9.dll! 4fe61347()
...
...

I have also checked carefully, and found the error happened in invoking
"drawIndexedPrimitivesUp()". And what else I have known is that: the error happened after setting some texture stage states.

How to debug it in detail? What methods could be used?

Thanks!
Are you using the debug runtimes? Any relevant output from them? This sounds like you're passing a bad pointer to D3D, such as an array that's not large enough for the primitives you're telling it to draw.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!