Learn how to convert an ordinary unmanaged class to a COM component, and then use that COM component from both unmanaged and managed code.
Latest cpp_managed Articles - Page 14
Chances are, if you are using C++ and moving to .NET, you won't want to rewrite all your existing C++ code. Kate begins a series of articles on the various ways you can reuse old C++ code in new Managed C++ projects.
So, what's the purpose of a Finalize method? That's a good question that Brent Rector addresses.
C++ templates are like a secret weapon for developers. Those who never got around to learning C++ because "it's really complicated" and "it has all kinds of funky features no one would ever use" have no idea what we can do with templates. Now to learn about templates and the dramatic improvements in Visual C++ .NET!
Be aware that boxing and unboxing values so that you can use the Base Class Libraries carries a performance cost.
Previously Kate showed how to use the ATL CImage class to dramatically simplify working with images in classic C++ applications. This time around, she creates the an application as a Managed C++ Windows application and uses System.Drawing.Image to do the heavy lifting.
Latest Developer VideosMore...
Latest CodeGuru Developer Columns
Quirky and yet persistent, C++ is a language that keeps programmers coming back to it. Pick up some new ways to wrangle it into your workflow.
Using output caching is now much easier to use, thanks to .NET 4 and higher, and also can be used in a traditional application.
Learn more about sub queries and sub queries, and, more importantly, how to use them with Visual Basic.
Most developers face a grueling challenge to please their end users. We asked their top challenge is. With over 3,000 responses, the results are now available!