C9 Lecture: C Runtime (CRT) Topics, by Mahmoud Saleh

In a recent Going Native episode in Channel 9, Charles (Torre) and I interviewed Mahmoud Saleh, the software engineer who keeps the C Runtime library. Now Mahmoud prepared for you a 1-hour lecture on some of the CRT topics like Memory leak detection (CRT debug heap). Unhandled exceptions. Assert and error reporting. CRT entry points…. Read more

The Visual C++ Weekly Vol. 1 Issue 22 (May 28, 2011)

Read in this issue: Enforcing Correct Concurrent Access of Class Data DirectCompute Lecture Series 230: GPU Accelerated Physics InformIT: Top Ten Tips for Correct C++ Coding ACCU 2011: Michael Feathers On Our Ability To Do Much Mixed-mode scenario with tracking handles to value types CSyncCollection v1.09 Referential danger Why is my program terminating with exit… Read more

The Visual C++ Weekly Vol. 1 Issue 14 (Apr 2, 2011)

Read in this issue: Troubleshooting Tips for IntelliSense Slowness The Concurrency Runtime and Visual C++ 2010: Lambda Expressions CMapi v1.23 (MFC classes for sending and receiving mail using Simple MAPI) Exception Boundaries: Working With Multiple Error Handling Mechanisms Is it reasonable to use the prefix increment operator ++it instead of postfix operator it++ for iterators?… Read more

Exception Boundaries: Working With Multiple Error Handling Mechanisms

Greetings! I’m David Blaikie, Software Design Engineer at Microsoft and guest blogger here on VCBlog. I work in the Windows product group, writing test infrastructure tools in C++. One of the luxuries of the codebases I work in is that they are relatively modern and flexible. We use the full gamut of C++0x features implemented… Read more

Making an Exception

An interesting debate about C++ exceptions took place a few weeks ago in the C++ MVPs discussion list. The trigger was something as innocent and specific as “would you guys just throw std::runtime_exception with some error message string or you define a new exception hierarchy? What’s your opinion on AtlThrow/AtlThrowLastWin32?” But as it typically happens,… Read more