Learn how to arrange custom marshaling for function parameter when using P/Invoke to access a legacy function from Visual C++.
Latest cpp_managed Articles - Page 15
Learn why you need P/Invoke if you would like to control the marshaling or conversions associated with a call to a function where data types may need to be converted.
Yes, you can leave your legacy C++ class as native code and still use it from C# or Visual Basic .NET.
Make that old legacy C++ code available to managed code It's a lot less work than you might expect!
Is P/Invoke needed when working with DLLs in C++? Discover the answer as well as the It Just Works feature of Visual C++ .NET.
Learn how to wrap your legacy code into a DLL and then call it from both managed and unmanaged code.
Latest CodeGuru Developer Columns
Discover the concept of late binding—the work behind the scenes to realize the late binding mechanism. Sample code and examples are provided.
FileSystemWatcher is a powerful tool you can employ in your .NET programming. Learn about it here. Examples are in C# and VB.NET.
Explore how to perform basic serial port communication. Examples are in C# and VB.NET.
Explore how to create and use a Ubuntu virtual machine.