By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,033 Members | 1,290 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,033 IT Pros & Developers. It's quick & easy.

Writing Plugins..

P: n/a
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
------------------------
http://www.vittorio.tk
Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Seems that Activator.CreateInstanceFrom got a reference, not instantiate
a new object.
Can anybody help me ?

Vittorio Pavesi
------------------------
http://www.vittorio.tk

Vittorio Pavesi wrote:
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
------------------------
http://www.vittorio.tk

Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.