Learn to host WPF content as a control in MFC applications.
Latest Interop Articles
The conversion between common native types and the equivalent .NET Framework type is a common programming activity for interoperability development in C++. Visual C++ Orcas introduces a light-weight, template-based library for performing this conversion. This article will look at both the use of this library and how it can be extended to add new conversions.
Learn how to develop C++ wrapper functions around .NET classes.
Learn how Managed C++ code can wrap Unmanaged C++ class libraries so they can be used from .NET clients written in C# or VB.NET.
Do you ever get jealous when you're reading code in other managed languages? Code that uses keywords such as Property and Delegate and using. Have you ever wondered whether you could use those in your C++ applications? You can, but it's not always obvious how to do so.
Learn how to arrange custom marshaling for function parameter when using P/Invoke to access a legacy function from Visual C++.
Latest CodeGuru Developer Columns
With the addition of the C/C++ extension to Visual Studio Code, you might have what is needed in a small, cross-platform editor.
Explore how to access the data from a JsonResult object and display it in a browser. An example is given so you can follow along.
Learn what GUIDs are, how to randomly generate GUIDs, and how to copy them. Examples are given both in C# and VB.NET.
Onion Architecture addresses the challenges faced with 3-tier and n-tier architectures, and provides a solution for common problems.