[Mono-dev] File not found error when using Activator.CreateInstanceFrom()

mike mguman at knology.net
Sun Dec 19 16:57:00 EST 2010


Right Jon, it is a mixed mode C++/CLI assembly and I am trying to create an
instance of a managed C++ object within, which in turn, accesses the legacy
'native' C++ code (which is also within this assembly).

Original problem on this thread was the 'file not found error'.  Since
another dll was referenced to this one, I simply thought the 'file not found
error' was due to a path problem, so I statically linked it into the main
assembly. Thats when I got this 'type not implemented..' error.

Thanks for the help, good suggestion on the clr pure option, I will review
the code 2morrow to see if I can try that...hope this works...if not, guess
I'll be redesigning a few thingies to use P/Invoke.  For some reason, I
thought we chose this CreateInstance() approach over the P/Invoke for
performance reasons.  The P/Invoke does work fine as I currently use it in
another part of the application to interface to some FORTRAN dlls.
-- 
View this message in context: http://mono.1490590.n4.nabble.com/File-not-found-error-when-using-Activator-CreateInstanceFrom-tp3064104p3094875.html
Sent from the Mono - Dev mailing list archive at Nabble.com.


More information about the Mono-devel-list mailing list