Writing Plugins..

  • Thread starter Thread starter Vittorio Pavesi
  • Start date Start date
V

Vittorio Pavesi

Hello,
I'm managing plugins in a .NET Application using Interface, I use the
following code to load plugins:

Dim pObhHandle As ObjectHandle = Activator.CreateInstanceFrom(pStrPath,
pStrType)
Dim pIpnPlugin As Check_Plugin = CType(pObhHandle.Unwrap, Check_Plugin)

I've a problem when 2 plugins have the same namespace, do the problem
depends from the assembly cache ?
Any other help ?

Vittorio Pavesi
 
Seems that Activator.CreateInstanceFrom got a reference, not instantiate
a new object.
Can anybody help me ?

Vittorio Pavesi
 

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