loading Dll at runtime.

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#)
 
G

Greg Ewing [MVP]

Meital, check out the Assembly class and all of it's associated subclasses.
You also might want to read up on Reflection.
 
W

William Ryan

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
 

Ask a Question

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.

Ask a Question

Top