I have an C# WPF project, I need to add some c++ dll in that to use functions implemented inside it. If I straight use
MyClassinDll myc = new MyClassinDll();
I get multiple not resolve file not found exception, writer of dll advice me to use
AppDomain.CurrentDomain.AssemblyResolve += new ResolveEventHandler(ResolveAssembly);
to load C++ dll as that c++ dll has other c++ dll as dependency.
Is it possible to use C++ dll class, function without reflection?
And use it like mvc.MyMethod(a,b,c) directly , as reflection takes time and complicating reference ?