You cannot load non .Net DLL's in this manner. The DLL must have metadata
and legacy DLL's don't.
--
Bob Powell [MVP]
Visual C#, System.Drawing
The Image Transition Library wraps up and LED style instrumentation is
available in the June of Well Formed for C# or VB programmers http://www.bobpowell.net/currentissue.htm
Good morning.
Im building a little utility that load dll and show me all his properties
and methods.
somthing like the object browser.
but i have a big problem with it.
when im loading a .net dll everything is fine , but when im loading vb6 dll
, the dll can not be loaded.
anyone knows how to solve it?
im using the assembly method to do it.:
a = Assembly.LoadFrom("c:/utils.dll");
I was aware of this for COM but the original poster didn't mention COM
except by inference to vb6 DLL which I should have guessed I suppose :-(
--
Bob Powell [MVP]
Visual C#, System.Drawing
The Image Transition Library wraps up and LED style instrumentation is
available in the June of Well Formed for C# or VB programmers http://www.bobpowell.net/currentissue.htm
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.