473,398 Members | 2,120 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Writing Plugins..

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
1 929
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Aurélien Géron | last post by:
Hi, I'd like to write a simple portable browser plugin for Internet Explorer, Netscape and if possible other navigators too. Is there a way to do that using Python? For now I'd like to develop...
1
by: censored | last post by:
Hi. I'm hoping for a bit of programming guidance here .... I have an application I wrote (it's an irc bot fyi), with which I want to use plugins. Basically, I want there to be directory called...
4
by: stu_pb | last post by:
I am designing a plugin system for a window application using .NET(C# specifically). One of the requirements of the plugin system is to be able to dynamically load/unload plugins. My initial...
5
by: Christoph Haas | last post by:
Dear coders... I'm working on an application that is supposed to support "plugins". The idea is to use the plugins as packages like this: Plugins/ __init__.py Plugin1.py Plugin2.py...
1
by: censored | last post by:
http://xchat.org/docs/plugin20.html Good way for newbies on irc to learn the basics of language? Put it to practical use immediately?
5
by: Michael McCarthy | last post by:
I want to develop plugin support for a system.montitor module I am working on. A lot of the modules will do mostly interop stuff for an older system, but I want to use it myself as well to monitor...
0
by: Greg Conely via .NET 247 | last post by:
I am creating a application that will be using plugins. I am doing this so that when I want to let this application work with another type of dbase system, I only have to write\install one plugin,...
1
by: dscriv | last post by:
Hello, I have Netscape 8.0.4 (in Firefox mode) and Flash 8.0.24.0. I also have IE and Firefox installed. If I go to this page, which contains a Flash detection movie:...
7
by: Laurent Navarro | last post by:
Hello, I created a software some times ago, which uses some plugins to work (which I coded also). I had problems to load those plugins as they used some classes and functions which were...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.