Major Vista problem - crashing in fullscreen
by Pavel Tovarys · in Torque Game Builder · 07/13/2007 (2:39 am) · 2 replies
Hello,
We have problem with TGB under Windows Vista - when you have the game in fullscreen mode and try to switch to another application and go back (2x alt-tab), the game crashed. The same thing is happened when you use "ctr-alt-del" and then go back to the application.
I think it is the major Vista problem, because some of distributors and publishers don't want to accept games with these problems. I tried to ask people in Getting started forum, but I have not received any usefull answer in 2 months (http://www.garagegames.com/mg/forums/result.thread.php?qt=61379). I'm not very good C++ programmer, I tried to debug the engine, but the crashes are not in the core but with Vista. Does anybody know the solution?
Thank you,
Pavel T..
We have problem with TGB under Windows Vista - when you have the game in fullscreen mode and try to switch to another application and go back (2x alt-tab), the game crashed. The same thing is happened when you use "ctr-alt-del" and then go back to the application.
I think it is the major Vista problem, because some of distributors and publishers don't want to accept games with these problems. I tried to ask people in Getting started forum, but I have not received any usefull answer in 2 months (http://www.garagegames.com/mg/forums/result.thread.php?qt=61379). I'm not very good C++ programmer, I tried to debug the engine, but the crashes are not in the core but with Vista. Does anybody know the solution?
Thank you,
Pavel T..
#2
Problem is that Vista uses DX for its desktop, TGB (TGE) uses OpenGL
So when you switch out, your graphics context and textures are most likely lost and need to be recreated before you can go on. there is a thread on that topic with a partial solution. I think posted by Amaranthia.
That problem is not Vista specific, just to mention. The similar thing happens on XP Pro when you have it in Win2k mode where the similar "choose your way" screen is comming up as with Vista, where the process manager is just a part of the solutions.
Thats due to the fact that all 3D acceleration is killed at that point and needs to be recreated at all.
07/16/2007 (10:35 am)
The solution is to track those events and recreate the textures etc.Problem is that Vista uses DX for its desktop, TGB (TGE) uses OpenGL
So when you switch out, your graphics context and textures are most likely lost and need to be recreated before you can go on. there is a thread on that topic with a partial solution. I think posted by Amaranthia.
That problem is not Vista specific, just to mention. The similar thing happens on XP Pro when you have it in Win2k mode where the similar "choose your way" screen is comming up as with Vista, where the process manager is just a part of the solutions.
Thats due to the fact that all 3D acceleration is killed at that point and needs to be recreated at all.
Torque Owner Leroy Frederick