MAV when resolution change.

Blitz3D Forums/Blitz3D Programming/MAV when resolution change.

TartanTangerine (was Indiepath)(Posted 2007) [#1]
When running a Blitz3D app I get an MAV when changing the desktop resolution. Is this because Blitz is loosing the handle to the device driver? I noted that the same does not happen with BMAX applications or applications written in other languages. Please clarify the situation and will there be a fix?


TartanTangerine (was Indiepath)(Posted 2007) [#2]
I forgot that this place was like! Will there be a fix?


popcade(Posted 2007) [#3]
http://www.blitzbasic.com/Community/posts.php?topic=67837

Don't know if this helps, it seems to involved something that losing surface.


@rtur(Posted 2007) [#4]
Blitz3D crashes also when user press Win+L key.

http://www.blitzmax.com/Community/posts.php?topic=70140


SLotman(Posted 2007) [#5]
My quick and dirty solution to "Win" and "ALT" keys is to just block them with the "keybd_event" API call from Windows.

I cant block CTRL+ALT+DEL with this, but the others I've been able to successfully block.

Quick example:

 If KeyDown(KEY_LALT) Or KeyDown(KEY_RALT) Then	
    api_keybd_event (18, 0, 2, 0); ALT released
    FlushKeys()
 End If


But yeah, a fix for this in native Blitz would be more than welcomed!


nrasool(Posted 2007) [#6]
Hi IndiePath, I would suggest in posting to the following thread about your problem, or try out the fix here:
http://www.blitzbasic.com/Community/posts.php?topic=69372