Passing Structures to unmanaged code from C# DLL to VB6Not true! Dumpbin is probably using the same mechanism that my unmanagedexports nuget package uses. This way or exporting functions from .Net was created for managed C++. IlAsm will create a mixed-mode assembly with actual native code thunks and an export table that points to them. This code ensures that the CLR is loaded before calling your managed code.

Why UnManaged Export example is doesnt work in prism XEFun fact: I first released this on the former oxygene newsgroup for Oxygene, not C#, (because D.Net had something similar) However, I only test and target it for C# now. Because Oxygene can do that just fine on its own since shortly afterward. You should file a bug at codecentral to get this sorted out, IMO.