The Wayback Machine - https://web.archive.org/web/20110902035707/http://www.codeguru.com:80/cpp/v-s/debug/handlingcrashes/

    Handling Crashes

    Visual C++: Protecting Against Buffer Overruns with the /GS Switch

    Visual C++.NET supports the automatic detection of stack-based buffer overruns through the use of the /GS compiler switch. Learn why stack-based buffer overruns are so serious, and how /GS and other Visual C++ settings can combat them.

    Add Crash Reporting to Your Applications

    How to generate a crash report for your application that can be debugged by using WinDbg or VS.NET. (The article and source code were updated.)