Plugin

  • Thread starter Thread starter GTi
  • Start date Start date
G

GTi

In C/C++ it is easy to create plug-ins with LoadLibrary and
GetProcAddress.
But how can I create similar functions in C#.
Does anyone have any samples references for how plugins can be created
in C#
 
GTi said:
In C/C++ it is easy to create plug-ins with LoadLibrary and
GetProcAddress.
But how can I create similar functions in C#.
Does anyone have any samples references for how plugins can be created
in C#

You can use the Assembly.LoadXXX methods to load .NET assemblies at
runtime, then analyse their contents starting with the assembly's GetTypes
method. Call into the new types using Reflection.



Oliver Sturm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top