Top "Unmanaged" questions

Unmanaged refers to Windows code that is independent of the Common Language Runtime(CLR).

Using C++ Class DLL in C# Application

I have an unmanaged C++ DLL which merely exports a single class (not COM...it's just a simple C++ class) …

c# dll c++-cli unmanaged
A call to PInvoke function '[...]' has unbalanced the stack

I'm getting this weird error on some stuff I've been using for quite a while. It may be a new …

c# c++ pinvoke unmanaged managed
Howto implement callback interface from unmanaged DLL to .net app?

in my next project I want to implement a GUI for already existing code in C++. My plan is to …

c# c++ callback unmanaged managed
allocating "unmanaged" memory in c#

I'm writting a program in c# that uses a C++ library, and for some reason I need to allocate an …

c# memory unmanaged
How do I add a reference to an unmanaged C++ project called by a C# project?

One solution (the.sln) One C++ project (mycppproject.vcxproj in 2010or mycppproject.vcproj in 2008) which compiles a native DLL exporting …

c# c++ visual-studio unmanaged
How to call managed code from unmanaged code?

I want to call my .NET code from unmanaged C++. My process entrypoint is .NET based, so I don't have …

.net c++-cli interop clr unmanaged
How can I convert an unmanaged IntPtr type to a c# string?

I'm new to C# (from a native C++ background) and I'm trying to write a little UI to print windows …

c# unmanaged
How to generate type library from unmanaged COM dll

I have to use third party, unmanaged COM dll into my .NET application. I need to modify this assembly to …

c++ com unmanaged regsvr32 typelib
What's the equivalent of WORD in C#?

I'm trying to access an unmanaged library and am lucky to have access to a comprehensive guide to the API. …

c# c++ word unmanaged dllimport
How to serialize byte array to XML using XmlSerializer in C#?

Say we have a struct that it's data is provided by un-managed byte array using Marshal.PtrToStructure. The C# struct …

c# xml serialization unmanaged