• Advertisement
Sign in to follow this  

DirectGraphic Questions

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