XNA Creators Club Online
Page 1 of 1 (2 items)
Sort Posts: Previous Next

MaterialsAndLight SEHException error

Last post 10-01-2008 2:54 AM by chris frechette. 1 replies.
  • 10-01-2008 2:03 AM

    MaterialsAndLight SEHException error

    I was looking through the MaterialsAndLight sample.  It runs fine on my machine, but when it tries to exit... it gives me an error:

    SEHException was unhandled

    External component has thrown an exception

            static void Main()  
            {  
                using (MaterialsAndLights game = new MaterialsAndLights())  
                {  
                    game.Run();  
     ---->      } //this is where the error occurs
            } 

     I found online that i happens when there is a SEH error thrown from unmanaged code.  I didn't alter the code in any way.  Has this happened to anyone else?  What could be causing it?  How do I fix it and/or handle catching this error?

    CFresh

  • 10-01-2008 2:54 AM In reply to

    Re: MaterialsAndLight SEHException error

    Ok... I've got it narrowed down to the exception getting thrown when it tries to dispose of the GraphicsDevice.  Its definitely revolving around the shader.  Any ideas?
Page 1 of 1 (2 items) Previous Next