Reputation: 851
Is there a way I can import a DLL at runtime? For example, like this:
Dim lib = ImportDLL("library.dll")
Dim result = lib.someNamespace.someClass.someFunction(arg1, arg2)
Upvotes: 1
Views: 1264
Reputation: 4754
You're probably referring to reflection. There are a bunch of articles in the net like the one from Microsoft. This codeproject is also a good walkthrough.
Upvotes: 2