Silviu-Marius Ardelean offers some insight into _chkstk and stack corruption.
Latest Debugging Articles
Writing a basic Windows Debugger - Part 1
Demonstrates the basics of writing a Windows Debugger.
Better Visual C++ Debugging
Effective use of the Visual C++ debugger is one of the easiest ways to increase developer productivity. Program database (PDB) files are one of the key elements in effectively debugging an application, and it is easy to set up Visual Studio to use debug symbols for binary files produced by other developers, including those at Microsoft.
Improving Visual C++ Debugging with Better Data Display
Code is run in a debugger for two main reasons: examining the branches of code that are being executed, and examining data values to determine why the code is behaving in a certain manner. Inspecting data values can be significantly improved by customizing the debug information. See how that can be done in the Visual C++ debugger.
Function Calls, Part 4 (What Exactly Is "this"?)
Learn about a dissasembly view of function calls, and decipher the __thiscall calling convention.
Function Calls, Part 3 (Frame Pointer and Local Variables)
Explore a dissasembly view of function calls, including organization of the stack for local variables and the concept of stack frames and frame pointers.
Latest Developer Videos
More...Latest CodeGuru Developer Columns

Control Statements and Basic Loops in C++/CLI
Become more proficient on the usage of statements to control the flow of execution through a C++/CLI application.

Custom Dialogs in WinForms
C# has a built-in way to create text-filled message boxes, a way that doesn't require using VB.NET. Find out for yourself.

Working with Windows 8.1 Control Panel Applets
Discover how to run all the various Control Panel applets from your own program.
Maker Project: Creating a Garage Door Opener
Have you ever wanted to control your garage door from your smartphone? Here is your chance. Get your hands dirty with an Arduino Garage Door Controller.






