How can I use the libraries on runtime?
-
Hi all, Can I load and use the libraries (.dll type) written by C# on runtime? That means I have an application that I don't need to add the references (.dll files) at compile-time. Whenever the application is executed, it will load and use all of libraries (.dll files) in current folder. Certaintly, I can already build this application without compile-error. I consider that this issue maybe concern with the reflection technology. But I haven't found out the way to apply this technology yet. Thank you very much to spend time in helping me. Vu.
-
Hi all, Can I load and use the libraries (.dll type) written by C# on runtime? That means I have an application that I don't need to add the references (.dll files) at compile-time. Whenever the application is executed, it will load and use all of libraries (.dll files) in current folder. Certaintly, I can already build this application without compile-error. I consider that this issue maybe concern with the reflection technology. But I haven't found out the way to apply this technology yet. Thank you very much to spend time in helping me. Vu.
Hello Vu Truong After seeing your post, I did some R & D and finally found out it's easy to do this. I wrote an article too :-) Dynamically loading a DLL - MC++ Nish p.s. Same window as this is a link within CP
Regards, Nish Native CPian. Born and brought up on CP. With the CP blood in him.