Cosmetics: Remove useless AfxGetMyApp().
MiniDump: Code simplification.