Calling C# dll from C++
问题 I have a native C++ DLL, and I want to import a C# DLL and use some of its functions (for example connecting to a database). Now I have read that you can turn the DLL into a TLB COM file, and I have done that no problems. My problem lies with the C++. To call that TLB file I need to set CLR support. I use themida to help secure all my DLL's as well as PEC. They do not support .net DLL's and when I enable CLR the programs recognize it as a .net DLL. Is there anyway to call a c# function inside