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

"Late binding" in C#

Hello,

I searched archives and all pointing to use of VB6 objects from C#

I want something different.

1. How can I build expandable platform? Let's say DLL's will have
common set of methods (interface) and I will have main program using
those DLL's. I want to achieve when I won't have to recompile main
program and be able to add modules by dropping them into folder. Then
my main program will know about them from DB.

2. I want something like ActiveX.exe to execute those "plugins" in
their own threads. And it will be ideal if main app won't crash in case
one of the DLL's have bad code. We want DLL's to execute code in it's
own memory space.

Can you give me kewords, pointers on where/what to read on this topic?

TIA!

Oct 9 '06 #1
2 1677
See my 12/1/2005 blog entry

http://sholliday.spaces.live.com/?_c...26ayear%3d2005

12/1/2005
Understanding the Simple Factory Pattern

And the "Reflection" example.

"Katit" <id*********@gmail.comwrote in message
news:11**********************@k70g2000cwa.googlegr oups.com...
Hello,

I searched archives and all pointing to use of VB6 objects from C#

I want something different.

1. How can I build expandable platform? Let's say DLL's will have
common set of methods (interface) and I will have main program using
those DLL's. I want to achieve when I won't have to recompile main
program and be able to add modules by dropping them into folder. Then
my main program will know about them from DB.

2. I want something like ActiveX.exe to execute those "plugins" in
their own threads. And it will be ideal if main app won't crash in case
one of the DLL's have bad code. We want DLL's to execute code in it's
own memory space.

Can you give me kewords, pointers on where/what to read on this topic?

TIA!

Oct 9 '06 #2
Check out AppDomains and the Activator class

Katit wrote:
Hello,

I searched archives and all pointing to use of VB6 objects from C#

I want something different.

1. How can I build expandable platform? Let's say DLL's will have
common set of methods (interface) and I will have main program using
those DLL's. I want to achieve when I won't have to recompile main
program and be able to add modules by dropping them into folder. Then
my main program will know about them from DB.

2. I want something like ActiveX.exe to execute those "plugins" in
their own threads. And it will be ideal if main app won't crash in case
one of the DLL's have bad code. We want DLL's to execute code in it's
own memory space.

Can you give me kewords, pointers on where/what to read on this topic?

TIA!
Oct 9 '06 #3

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

Similar topics

1
by: Rob Hunter | last post by:
Is there an equivalent to Scheme's LET in Python? LET creates a new binding in the current environment. For example, here's some Scheme code: (let ((x 3)) (let ((f (lambda (arg) (* arg x))))...
3
by: pieter.breed | last post by:
Hi All, It seems as if whenever you rebuild a .net class library you have to rebuild /everything/ which references it. Is this so? I am wondering what happens when you are only doing a minor...
2
by: Boniek | last post by:
Hi, How I can create property to binding with other objects. I want to create a data object which work as a DataTable. DataTable contains columns and dataTable is used to binding with a textBox...
3
by: Coldman | last post by:
which was saying this: "i have an asp:repeater - its values r initialezed w/ a .DataBind() call does it mean any changes user makes on the page will automaticly go to the database? quite...
0
by: brian.mills | last post by:
I'm having trouble with a web service I've been using since I've change computers. The project was in source safe, and i've pulled it out, but I can now not change beetween static and dynamic on a...
2
by: barcrofter | last post by:
Im still confused with interfaces for COM objects. I have a Lotus word processor that I'm trying to automate via vb.net. The exe comes with an interface that I can add as a reference .. but.. I...
1
by: nelsonivan | last post by:
Hi, i'm trying to reference some objects using reflection and Late Binding accessing. The Object API to his methods it's easy to understand, and it's as "Object.Method" - aka....
0
by: Ronald S. Cook | last post by:
Hi, I'm wanting to iterate over a generic IList, but the code won't compile because the blue sqiggle line under: _DataRow("SecurityFunctionName") = _IList(i).SecurityFunctionName; sez...
0
by: Armin Zingler | last post by:
<Just_a_fan@home.netschrieb After having longer discussions about a similar issue, I ask you to provide an example of the source and destination value(s) and their data types. Thanks. Example...
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...
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...
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
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.