How to call a .NET DLL from a Win32 process?
问题 What are the options when it comes to using a .NET DLL from a Win32 process? I need to basically use a C# DLL from a Win32 process. I have a possible solution right now that requires adding the C# DLL to the GAC (using RegAsm.exe), then calling the C# DLL via COM wrapped calls. However that solution is pretty heavy. It requires that the .NET DLL be added to the GAC on all machines that are supposed to run this Win32 process. Would it be possible to do this without having to call RegAsm prior