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.
Latest Buffer & Memory Manipulation Articles
VMemPool
If you deal with same size objects in server coding, VMemPool shows a good way for beginners.
Automatic Deallocation of Unwanted Memory
The most common yet repeated mistake that programmers make occurs while using system memory. This program automatically deallocates memory back to the system!
MemCheck Driver Memory Tool
Code to help driver developers locate and solve memory problems. The code includes checks for buffer overruns, double-frees, invalid memory accesses.
Inflable Arrays in Win32
The inflable array described here allows to declare really huge buffers without actually allocating much more memory than is really needed to store the actual data.
Expandable, Data Type-Neutral Buffer Class
Expandable, Data Type-Neutral Buffer Class
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.

Processing Things in C# with the Process Class
Explore new ways to run processes under Windows. Some might even surprise you.

Switching Input Languages Dynamically with Visual Basic
You can change your input language dynamically. Make it easier for those who speak other languages to use your software.
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.