Hello;


I have a C++ unmanaged DLL that has a class that I want to import into a Managed C++ DLL with DLLIMPORT.

does anyone know how to do that?

I do not want to link with a LIB for the unmanaged C++ DLL.

the managed C++ DLL uses managed and unmanaged code. When I do the static linking with the LIB things have worked. However I want to completely ISOLATE build issues. So I wanted to Just Import the class from the unmanaged DLL and create an instance or multiple instances of the objects in that DLL. there are also some structs that are defined which I can redefine in the managed DLL to make life simple.

I am wrapping the Class currently and providing a layer with extra functionality for use in a C# project.

thanks

-Peter