473,386 Members | 1,873 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,386 software developers and data experts.

Component model?

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.
Nov 23 '05 #1
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.

Nov 23 '05 #2
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.


Nov 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: dennist685 | last post by:
How to add a component in vs2005 I'm stepping through an asp.net walkthrough at:...
122
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...
2
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...
0
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,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
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$) { } ...
0
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
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...
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
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...
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,...

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.