Monday, May 24, 2010

Unhandled exeptions in MSDN XNA Studio Express Beta?

I have recently downloaded and installed MSDN XNA Studio Express Beta1 games development module to develop games for windows using Visual C#. Upon trying to build and run the included startup project (Spacewars1) I repeatedly get an unhandled exeption error in the penultimate statement - the reason given was %26lt;%26lt;no suitable graphics device exeption was unhandled%26gt;%26gt;.





The statement is: " this.GameComponents.Add(this.graphics);"





minus the quotation marks obviously.





Anybody else had this problem and does anybody know the fix?





Nigel..

Unhandled exeptions in MSDN XNA Studio Express Beta?
try this site it may help you http://blogs.msdn.com/xna/archive/2006/0...





Good luck
Reply:Once you fix it it will work fine thats what i do when something doesnt work.
Reply:Sounds like a DirectX error that occurs when your video card isn't capable of handling the graphics mode you set with your device adapter. I'd suggest enumerating the supported devices on your machine or just doing a little trail-and-error.


No comments:

Post a Comment