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