Brian Johnson works with BizSpark Startups on the East Coast of the United States. For more information about the BizSpark program you can go to http://bizspark.com.
Part I: The C++ Style Sweet Spot Part II: Modern C++ Style Part III: Abstraction and EfficiencyPart IV: Elegance and Other Design Ideals
Windows XP Service Pack 2 Security Information for Developers
With Windows XP Service Pack 2 (SP2), Microsoft is introducing a set of security technologies that will improve Windows XP-based computers' ability to withstand malicious attacks from viruses and worms... ...To developers these technologies will have impacts on the applications that they create and the tools they use. This page contains resources to assist developers in dealing with these impacts.
Well, how to still make sure that assertions will be triggered when appropriate, but not to have any visual side-effects? Fortunately C run-time library provides you everything you need: _Crt* functions are the key, especially _CrtSetReportMode and _CrtSetReportFile, and also the documentation about CRT assertion macros.
Moral of the story: one should read more MSDN and/or CRT source code.
Windows Debuggers: Part 1: A Windbg Tutorial
In my professional career, I have seen most of us use Visual Studio for debugging but not many of the other debuggers that come for free. You may want such a debugger for many reasons, for example, on your home pc which you do not use for development but on which a certain program crashes from time to time.
Developer Security Webcast Week February 16 - 20, 2004Microsoft announces a special week of webcasts addressing the most important and newly emerging security issues surrounding developers. Topics range from corporate security reviews and computer crime to a host of webcasts aimed specifically at developers. These webcasts are designed to help developers write applications that are resistant to security attacks.
The Print Shop 20 Uses .NET CLR from MFC to Ease into the .NET FrameworkThe existing 1.4 million lines of code were not structured well enough to turn into COM components or to convert into managed C++. Riverdeep hit on the unorthodox approach of hosting the Microsoft .NET Common Language Runtime inside their MFC-based C++ application, which turned out to work extremely well in practice.
C++/CLI revision of the Managed Extension Reference Array Syntax
...This has been simplified in the revised language design, in which we use a template-like declaration to mirror the STL vector declaration. The first parameter indicates the element type. The second parameter specifies the array dimension [defaults to 1, of course]. The array object itself is a reference type and so must be given a hat. If the element type is also a reference type, then that, too, must be so marked...
Microsoft Visual C++ .NET 2003 Kick Start Chapter 3: The .NET Base Class Libraries From the chapter: The C++ Advantage - C++ can use the same class libraries as C# and VB.NET. Does it work the other way around? No. There are libraries of unmanaged code available from managed C++ that cannot be called from Visual Basic or C#—ATL and MFC are just two examples. However, it's unlikely that a Visual Basic or C# programmer would want to use those libraries, because their functionality is provided elsewhere; the capability to call them from managed C++ helps simplify a port from unmanaged to managed C++.