Quote: "Hitting ctrl-alt-delete causes windows to change resolution and flush the graphics buffer, causing all graphics stuff created/loaded in already to be deleted.
It crashes because you don't re-create the matrix after it's been deleted."
well if you actualy tested the code this would have worked fine.... it would only crash if i try to do something with the matrix that nolonger existed.... use this modified code and it will still crash for me.
Rem Project: invalid
Rem Created: Monday, May 23, 2011
Rem ***** Main Source File *****
make matrix 1,600,600,24,24
update matrix 1
sync on
sync rate 60
do
if screen invalid()=1 then gosub fixmatrix:message "screeninvalid"
sync
LOOP
fixmatrix:
if matrix exist(1)=1 then delete matrix 1
make matrix 1,600,600,24,24
update matrix 1
return
can someone actualy test the code and confirm this
thanks...
again im running windows 7 with dbpro 1.075