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
It's essential to know the differences in these libraries and use them correctly. This brief tutorial will guide you.
Fear not, Tuple lovers. This much-maligned data type is still in use today.
Create a video recorder that records your desktop and mouse on your computer.
Application Programming Interfaces (APIs) are where you have to be. It's not a matter of if as much as a matter of which.