   Catching Exceptions
  In WinMain I have this : catch(exception& e ){Alert(e.what());}catch(...){Alert("Unhandled programming error detected. Unknown cause. ");}  All of my exceptions are are based on the std:: one, the second catch was mean to catch the rest, if nothing more than make it look a little more pretty. Of course in my code I catch the exceptions I think I can recover from, but I still seem to get  raw blah memory could not be read style exceptions. 1) Do I need to do omehting diferent DLL''s or will my exe catch the exceptions coming out of the DLL''s?2) Can I somehow get more information on exceptions that occur, apart from my ones?Many thanks    Chris Brodiehttp:\\fourth.flipcode.com
  MS specific:The first catch handler will catch software exceptions only (ie. thrown using the throw keyword).The second catch will catch hardware and software exceptions.A hardware exception, for example, is a divide by zero exception.ie  int z = 0;    int y = 3 / z;If you need more information for hardware exceptions, take a look at _set_se_translator.For even more information, look at the SuperAssert and John Robbin''s Bugslayer column in the MSDN to for a stackwalk and interpreting the crash address.  ;quote:Original post by gimp  In WinMain I have this : catch(exception& e ){Alert(e.what());}catch(...){Alert("Unhandled programming error detected. Unknown cause. ");}    All of my exceptions are are based on the std:: one, the second catch was mean to catch the rest, if nothing more than make it look a little more pretty. Of course in my code I catch the exceptions I think I can recover from, but I still seem to get  raw blah memory could not be read style exceptions. 1) Do I need to do omehting diferent DLL''s or will my exe catch the exceptions coming out of the DLL''s?2) Can I somehow get more information on exceptions that occur, apart from my ones?Many thanks Chris Brodiehttp:\\fourth.flipcode.com I will answer question 1 since 2 was answered by void :Yes it will, because when you load a dll in a process, you actually map all it''s memory that process. Which means, all the function you exported from actually acts has if it was compiled withing the .exe. You know, a dll is the same thing has a static lib, but you link the functions at runtime instead of at compile time.