I am writing a system in C # .net (2.0). It has a plug-in modular architecture. Assemblies can be added to the system without rebuilding the base modules. To connect to the new module, I want to try to call the static method in another module by name. I do not want the called module to be referenced in any way during the build.
Back when I wrote unmanaged code, starting with the path to the .dll file, I would use LoadLibrary () to get the .dll into memory, and then use get GetProcAddress () to get the pointer to the function I wanted to call. How to achieve the same result in C # /. NET.
Rodney schuler
source share