loading Dll at runtime.

  • Thread starter Thread starter Meital s
  • Start date Start date
M

Meital s

I want to know how can I load dll, which was created by me,
at runtime and once dll is loaded how can it be possible to access it's
functions?
(in C#)
 
Meital, check out the Assembly class and all of it's associated subclasses.
You also might want to read up on Reflection.
 
Yep, reflection is the way to go. John Connell has a snippet in his Coding
Techniques for VB.NET programming called AssemblySpy that lets you use an
open Dialog to retrieve a .dll or .exe and it tells you all the information
about it. It's a pretty easy to understand explanation IMHO.

Here's a link I found helpful, but there's a lot to reflection and something
you'll need to do some decent studying with to fully manipulate it.

Cheers,

Bill
 
Back
Top