Top "Mixed-mode" questions

A mixed-mode application is any application that combines native code (C++) with managed code (such as Visual Basic, Visual C#, or C++/CLI that runs on the common language runtime).

Mixed mode assembly is built against version '2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime

I'm using Visual Studio 2012 and the .Net Framework 4.5 I have 2 Solutions: 1) WPF Application 2) Class library (dll) The Class Library contains 3 …

.net visual-studio-2012 assemblies .net-4.5 mixed-mode
C3859: Virtual memory range for PCH exceeded

I get this error message from time to time (not every time) I compile (EDIT: sorry, I didn't make myself …

c++ visual-studio-2015 compiler-errors precompiled-headers mixed-mode
C++/CLI Wrapping a Function that Returns a std::shared_ptr

I'm currently wrapping a C++ class with C++/CLI for .NET interoperability following the standard process of holding a native …

.net c++-cli wrapper shared-ptr mixed-mode
How can I send a managed object to native function to use it?

How can I send a managed object to native function to use it? void managed_function() { Object^ obj = gcnew Object(); …

.net c++-cli unmanaged managed mixed-mode
Memory leak in Mixed Mode C++/CLR application

I'm having problems with a slow memory leak in my mixed mode C++/CLR .NET application. (It's C++ native static …

.net c++ memory-leaks mixed-mode