DDERR_CANTLOCKSURFACE in VB6
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
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.
If your PC switches to a less power consuming mode (turns off the display output) your device will be lost.
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!
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!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement