public static void Main(string[] args) { try { LightingApplication app = new LightingApplication(); app.Go(); } catch (System.Runtime.InteropServices.SEHException) { // Check if it's an Ogre Exception if (OgreException.IsThrown) ExampleApplication.Example.ShowOgreException(); else throw; } }
public static void Main(string[] args) { try { LightingApplication app = new LightingApplication(); app.Go(); } catch (System.Runtime.InteropServices.SEHException) { // Check if it's an Ogre Exception if (OgreException.IsThrown) { ExampleApplication.Example.ShowOgreException(); } else { throw; } } }