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 CodeGuru Developer Columns
With the addition of the C/C++ extension to Visual Studio Code, you might have what is needed in a small, cross-platform editor.
Explore how to access the data from a JsonResult object and display it in a browser. An example is given so you can follow along.
Learn what GUIDs are, how to randomly generate GUIDs, and how to copy them. Examples are given both in C# and VB.NET.
Onion Architecture addresses the challenges faced with 3-tier and n-tier architectures, and provides a solution for common problems.