Dynamic loading DLL files

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Arek

    Dynamic loading DLL files

    Hi,

    I'm porting application from C++ to C#. This application has several plugins
    (DLL files). All plugins are using same interface (IPlugin) and have
    function which returns pointer to this interface. App checks specified
    folder on start, loads all DLL files into memory and creates collection of
    this pointers (IPlugin).
    How to do it in C#? How to load perform dynamic load DLL library in C#? How
    to retrieve an interface?

    Thanks,
    Arek

Working...