Eric,
Well, you can use reflection for .NET dlls, but this isn't the
recommended way to handle unknown dlls. Typically, you will want types in
dlls (in a known location) to implement an interface, then create instances
of those types and cast to the interface.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Eric" <no****************@yahoo.se> wrote in message
news:11**********************@j33g2000cwa.googlegr oups.com...
Hi, I wonder if it is possible to import and use an unknown dll in a C#
program? I.e. get to know what public variables, methods, properties
etc. the dll contains and get to know what parameters to call the
methods with, what the properties return etc. Does it have to be a .net
dll?
Thanks!