Re: Wrapping unmanaged C++
How are you trying to reference your dll ?
Have you tried
Code:
#using "name of dll.dll"
instead of adding it to the references list ?
Darwen.
Re: Wrapping unmanaged C++
I do both...
The only solution I can think of is to dump all of the header files of my unmanaged library in "uncludeallunmanaged.h", and link the lib of the unmanaged library with my project. I don't want to let the users of this managed dll think about what unmanaged stuff they need to include...
Re: Wrapping unmanaged C++
Doing both is your problem. You need to do only one or the other. If you put the dll in your references and also put a #using statement, it tries to import the dll twice. (it's different than in C#)