Archived

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

DDERR_CANTLOCKSURFACE in VB6

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

On some RADEON cards i get DDERR_CANTLOCKSURFACE after 2- 10 minutes running my app with no obvious reason. Screen start to flicker (Full screen directdraw app). After i minimize and restore app the flickering stops and everything works fine for another 5-10 minutes. I get this problem on some Radeon9000 Mobility and Radeon 9000 Cards, but some cards works just fine. Does anyone knows anything about this problem? Tnx! ---------AaAa

Share this post


Link to post
Share on other sites
Maybe your surfaces are lost and you have to reset your device.
If your PC switches to a less power consuming mode (turns off the display output) your device will be lost.

Share this post


Link to post
Share on other sites
Surface.IsLost returns false
Surface.restore does not help.

and everything else seems ok. i disable screensaving on start of the app, but ill check it again..

Description for DDERR_CANTLOCKSURFACE says:
Access to this surface is refused because an attempt was made to lock the primary surface without DCI support.

????? makes no sense!

Share this post


Link to post
Share on other sites