This first code does not trap. It throws a weird DX error in the console screen:
"DXERROR err=UNKNOWN:-2005531925 747"
But this works, for test purposes I'm just throwing something obvious at it.
This came about when I purchased a new widescreen monitor. But I'm still using a crappy GPU. So I'm assuming there isn't enough VRAM to handle the large screen. But since control isn't coming back to the program I can't trap for it? Or can I doing something else? Thanks for any suggestions.
"DXERROR err=UNKNOWN:-2005531925 747"
SetGraphicsDriver D3D7Max2DDriver() If Graphics(1680,1050,32,-1) = Null Print "Trapped!" ' <<< never gets trapped! End EndIf
But this works, for test purposes I'm just throwing something obvious at it.
SetGraphicsDriver D3D7Max2DDriver() If Graphics(32,32,32,-1) = Null Print "Trapped!" ' <<<< Works! End EndIf
This came about when I purchased a new widescreen monitor. But I'm still using a crappy GPU. So I'm assuming there isn't enough VRAM to handle the large screen. But since control isn't coming back to the program I can't trap for it? Or can I doing something else? Thanks for any suggestions.