I've build a Class Library in C# and would like to port it to C++. Easy...
But when I've try to buil a dll, the problems arose...
In C++, I started a Win32 empty project. I choosed Dynamic Library (DLL) and code my classes from C# to C++.
In C#, to use the resulting DLL in my projects, I click "add ressource" and that's it, I can use the dll classes as if they were in my projet.
But in C++, I think I must use "LoadLibrary" but then ... I can just export a single function!!! Not my whole class. To use as objects
I want it unmanaged for my game engin (I'll add plugin capabilities)
Is there something i'm missing? How to do a Dll, unmanaged, that can expose classes from a namespace?