XNA compiled programs crashing
Hi,
i downloaded XNA Game Studio express Beta an hour ago.
The application itself works pretty well, but when i compile an application (like the Spacewar starter kit or a new project), the exe that i find in *project folder*/bin/Release/ won't launch : it crashes and asks me if i want to send a report to microsoft.
I know it's kinda normal since it's a beta software, but if anyone knows an issue to this problem, it would be very helpful ;)
Thanks in advance.
[477 byte] By [
Smealum] at [2007-12-23]
Can you give some system info for us . What is you current hardware setup , which version of the directx sdk do you have installed etc. etc.
Does it run in Debug? I haven't had a problem with the SpaceWar Starter Kit on my laptop, it runs just fine.
I have an other problem, SpaceWar starts, but what buttons must i press to select the options? I've tried all but it lock at the title screen
What do you mean by my hardware setup ?
The version of my directx
SDK is june 2006, but it shouldn't affect the program since there
aren't any erros/warning during compilation...(but i installed the
directX sdk will using an other account...is this a problem ?)
And, the debug mode gives me the same problem.
Should i update and reinstall my directX SDK ?
What errors do you get in debug? What video card are you using?
It's recommended you use the August 2006 DirectX SDK. It's most likely your problem.
If you try and run it under the debugger, does it run? i.e. are you just double clicking on the exe in Explorer?
If it runs under the debugger, it might be an issue with paths (and might be a bug in Spacewar).
Launching the exe from Explorer works fine for me. More than likely a problem with your setup (hardware/software).
have you tried this in the spacewars app? a few people have run into an issue with multisampling.
Add the following to line 20 in SpacewarGame.Designer.cs
graphics.AllowMultiSampling = false;
and change line 109 in SpacewarGame.cs from
graphics.AllowMultiSampling = true;
to
graphics.AllowMultiSampling = false;
Thanks everyone, it works now !
I installed the latest version of the directX SDK (august 2006) and changed the code, and it now works perfectly ;)
I have the same problem. But I have august SDK. Maybe problem is in code? I must change this. But can enybody tell me why?
Aki pl wrote: |
I have the same problem. But I have august SDK. Maybe problem is in code? I must change this. But can enybody tell me why?
|
|
It doesn't crash when you run it from the IDE, but it does when you run the exe? Just confirming the problem.
Ok. Now I now that the problem is in code. I have VC,XNAGS, and August SDK. But the problem was still. I recognize that i have geforce 2 MX 400. I don't know that this card have shading 2.0 or not. But I know that after I was opened the starter kit and make build. Everything was ok. But when I go to debug mode (ctrl+F5) I had error occured. So I changed multi into false and add this line. Now This is working perfectly :) I had problem with audio exception too. But this is history now. I hadn't have my audio card switched on in bios :)