Jump to content
  • Advertisement
Sign in to follow this  
thanh

DirectGraphic Questions

This topic is 4997 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

I have a errror about a funtion when run program and to function: Render() a point: LPDIRECT3DDEVICE9 g_pd3ddevice = NULL; g_d3ddevice->Clear(0, NULL, D3DCLEAR_TARGET, D3DCOLOR_XRGB(0,0,255), 0.1f,0); appear error: " Unhandle exception at 0x004123c7 in GameHeaven.exe: 0xc000005 access violation readin location 0x00000000 " I hope your answer!!! Thanks!!

Share this post


Link to post
Share on other sites
Advertisement
I'm sure this may be a stupid question, but is it possible that you haven't initialized directx properly? You're likely to get some jazzy errors if there was a problem earlier on -- do you have appropriate error checking to let you know if everything was initialized acceptably?

Share this post


Link to post
Share on other sites
thanks your answer!!!
but I checked error and finish module graphic
error: appear because moudule Init function: Create3DDevice(.., hwnd, )

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!