I have an interface (call it IImagingAlgorithm). I want a user to be able
to create their own IImagingAlgorithm classes and add them into my
framework. So, I'm guessing I will have a directory to search for .DLL's
(or something), loading each one and attempting to instantiate each object,
using the IImagingAlgorithm inteface on each one.
My question is, what is the best way to do this? Shall I just put each
IImagingAlgorithm class into a .DLL and manually load them? If so, how do I
do this?
Thanks. 2 856
Dear Robson,
Have a look at: http://www.developerfusion.co.uk/show/4371/
Hope I helped you,
Michel van den Berg
--
== Remove nospam to email me ==
"Robson" <no****@nomeansno.com> schreef in bericht
news:dl*******************@news.demon.co.uk... I have an interface (call it IImagingAlgorithm). I want a user to be able to create their own IImagingAlgorithm classes and add them into my framework. So, I'm guessing I will have a directory to search for .DLL's (or something), loading each one and attempting to instantiate each object, using the IImagingAlgorithm inteface on each one.
My question is, what is the best way to do this? Shall I just put each IImagingAlgorithm class into a .DLL and manually load them? If so, how do I do this?
Thanks.
Okay, thats the kind of thing I was thinking. Thanks for the reference.
"Michel van den Berg" <mv*@promontis.nl> wrote in message
news:%2****************@tk2msftngp13.phx.gbl... Dear Robson,
Have a look at: http://www.developerfusion.co.uk/show/4371/
Hope I helped you,
Michel van den Berg
-- == Remove nospam to email me ==
"Robson" <no****@nomeansno.com> schreef in bericht news:dl*******************@news.demon.co.uk...I have an interface (call it IImagingAlgorithm). I want a user to be able to create their own IImagingAlgorithm classes and add them into my framework. So, I'm guessing I will have a directory to search for .DLL's (or something), loading each one and attempting to instantiate each object, using the IImagingAlgorithm inteface on each one.
My question is, what is the best way to do this? Shall I just put each IImagingAlgorithm class into a .DLL and manually load them? If so, how do I do this?
Thanks.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: dennist685 |
last post by:
How to add a component in vs2005
I'm stepping through an asp.net walkthrough at:...
|
by: Edward Diener No Spam |
last post by:
The definition of a component model I use below is a class which allows
properties, methods, and events in a structured way which can be
recognized, usually through some form of introspection...
|
by: Marc Gravell |
last post by:
It appears that when using the component model (or the default
implementation, at least), then any duplicated attributes (e.g. from
properties) are dropped. In my test, component-model outputs...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
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,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
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,...
| |