Search code examples
.netdlldelphi-prism

Is there a way to load library in delphi prism?


I need to load Dynamically linked or Static library file during runtime. Is there a way to do it in delphi prism?

MSDN library doesn't seem to indicate that.

Any help or hints will be greatly appreciate it.

Thanks,


Solution

  • You can use the Assembly.LoadFrom method to load an assembly. from here you can use reflection to invoke a public method of the library.