Hello,
I need to use a dll written in C# .Net 2.0 in a code which use wxWidgets 3.0.2 in Visual studio 2005.
When I compile, using /CLR option, I have this error:
LNK4248: token typeref (01000019) not resolved
and a the run time an exception is thrown.
I've tried to put #pragma unmanaged in the setup.h file of the wxWidgtes and recompile using /CLR option, ( as described in viewtopic.php?t=37374 ) but it doesn't compile because there's C code.
I've also tried /TP option (together with /CLR), when I have compile wxWidgets, but it doesn't compile.
How can I include the dll, developed using .Net2, in my code written in C++/wxWidgets ?