M
Mike Kamzyuk
Hello. Here's the problem I got.
I have a native c++ dll, say NCD.
I have a mixed c++ dll, say MD. MD depends on NCD. Some functions in
MD return types defined in NCD. Those functions are in __gc classes.
I now want to create a native dll which depends on NCD, and export some
function foo from it.
The problem is that as soon as I try to create an instance of a __gc
class from MD (this is done in foo), I get a FileNotFoundException of
the dll. When those calls are removed, everything works fine. Even
more weird, mscorlib's functions work no problem in foo. The project
compiles and links. What am I missing?
I have a native c++ dll, say NCD.
I have a mixed c++ dll, say MD. MD depends on NCD. Some functions in
MD return types defined in NCD. Those functions are in __gc classes.
I now want to create a native dll which depends on NCD, and export some
function foo from it.
The problem is that as soon as I try to create an instance of a __gc
class from MD (this is done in foo), I get a FileNotFoundException of
the dll. When those calls are removed, everything works fine. Even
more weird, mscorlib's functions work no problem in foo. The project
compiles and links. What am I missing?