af BIA DK » 4. sep 2006 20:43
Jeg har haft lyst til at lege lidt med XNA, og har derfor installeret DirectX SDK, Visual C# Express og Game Studio Express. Men når jeg afvikler et program, fejler den med følgende exception (også selv om det er et tomt projekt):
Microsoft.Xna.Framework.Components.NoSuitableGraphicsDeviceException was unhandled
Message="The values used in the attempt to create the GraphicsDevice were invalid."
Source="Microsoft.Xna.Framework.Game"
StackTrace:
at Microsoft.Xna.Framework.Components.GraphicsComponent.CreateDevice(GraphicsDeviceInformation newInfo)
at Microsoft.Xna.Framework.Components.GraphicsComponent.ChangeDevice(Boolean forceCreate)
at Microsoft.Xna.Framework.Components.GraphicsComponent.OnGameChanging(Game previousGame)
at Microsoft.Xna.Framework.GameComponent.set_Game(Game value)
at Microsoft.Xna.Framework.GameComponentCollection.Parent(GameComponent gameComponent)
at Microsoft.Xna.Framework.GameComponentCollection.InsertItem(Int32 index, GameComponent item)
at System.Collections.ObjectModel.Collection`1.Add(T item)
at WindowsGame1.Game1.InitializeComponent() in C:\Documents and Settings\BIA\Local Settings\Application Data\Temporary Projects\WindowsGame1\Game1.Designer.cs:line 15
at WindowsGame1.Game1..ctor() in C:\Documents and Settings\BIA\Local Settings\Application Data\Temporary Projects\WindowsGame1\Game1.cs:line 19
at WindowsGame1.Program.Main(String[] args) in C:\Documents and Settings\BIA\Local Settings\Application Data\Temporary Projects\WindowsGame1\Program.cs:line 12
Er der nogen, der har nogen idé om, hvad problemet er? Er mit grafikkort, ikke understøttet? Jeg sidder med en bærbar (IBM ThinkPad R51) med ATI Mobility Radeon 9000 grafikkort med 32 MB RAM.