Silviu-Marius Ardelean offers some insight into _chkstk and stack corruption.
Latest Debugging Articles
Demonstrates the basics of writing a Windows Debugger.
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.
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.
Learn about a dissasembly view of function calls, and decipher the __thiscall calling convention.
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 VideosMore...
Latest CodeGuru Developer Columns
Learn more about a few commonly used components and explore their utility and usages.
Learn how to create a new project for a 3D game, add a simple object to your 3D world, and build a UWP application from this project.
Learn the complicated way of getting disk information from your computer.
Application Programming Interfaces (APIs) are where you have to be. It's not a matter of if as much as a matter of which.