Monthly Archives: April 2011

Generating a Stack Crawl

When developing an application, it is sometimes useful to add logging functionality to help track down bugs. One of the tricks I like to pull out once in a while is automated bug reporting. When the application gets into an … Continue reading

Posted in Win32 | Tagged , | 7 Comments

The Importance of Calling Conventions

Calling conventions are something you generally don’t have to worry about as a programmer because the compiler usually takes care of everything for you. But when you start interacting with code outside of your control (such as shared libraries), calling … Continue reading

Posted in Framework Design | Tagged , | Leave a comment

C++ Gets For-Each

One of the new language features that has been added to C++0x is the for-each syntax. Anything which defines a range can be iterated over by the new syntax, including arrays, anything you can call begin and end on, or … Continue reading

Posted in C/C++ | Tagged , | 1 Comment