Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


****DirectDraw/Direct3D DRIVER DISABLING ERROR****:

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

This is a software&hardware mixed render. and mainly used software rendering. only when software is hard to do,then switch to hardware. render.pRenderFrameBuffer->Lock(); renderPrim(prim); render.pRenderFrameBuffer->UnLock(); renderPrim(PRIM* prim) { switch(prim->primTage ){ case softwareprim: //direct render into render frame buffer; break; case hardwareprim: render.pRenderFrameBuffer->UnLock(); render.pd3dDevice->BegineScene(); render.pd3dDevice->DrawPrimitive(); render.pd3dDevice->EndScene(); render.pRenderFrameBuffer->Lock(); break; } } as you see,i keep render buffer keep locked,because i want reduce the times of locked.and i create the pRenderFrameBuffer in video buffer.When press key"Ctrl+Alt+Del",then switch my application,then i found Direct3D7: (INFO) rofile:DrawPrimitive(Device7):TRIANGLESTRIP:D3DTLVERTEX Direct3D7: (INFO) rofile:DrawPrimitive(Device7):TRIANGLELIST:D3DTLVERTEX Direct3D8: (ERROR) :Driver failed Lock request: -2005532222 Direct3D8: (ERROR) :InternalLock failed. Direct3D8: (ERROR) :****DirectDraw/Direct3D DRIVER DISABLING ERROR****: First call to DdQueryDirectDrawObject failed! I found i can''t use render.pDD->RestoreAllSurfaces(); because DirectDraw/Direct3D DRIVER DISABLING ERROR how to solve this problem?

Share this post

Link to post
Share on other sites

  • 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!