471,314 Members | 2,185 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

Late Binding Question

In my application several modules are dynamically bound via Reflection to
the main app - this works fine. Is there a way that I can dynamically
unbind a module. Basically, i want a dialog box that the user selects which
modules they want to bind / unbind. Right now the binding happens at
startup of the app. Any example of code would be great.

Thanks in advance.
Dec 2 '05 #1
1 1100
Doug Handler wrote:
In my application several modules are dynamically bound via Reflection to
the main app - this works fine. Is there a way that I can dynamically
unbind a module. Basically, i want a dialog box that the user selects which
modules they want to bind / unbind. Right now the binding happens at
startup of the app. Any example of code would be great.


Unfortunately, you can't unload individual assemblies - you can only
unload whole AppDomains. Whether you can easily use separate AppDomains
will depend on what you need to marshal across the different modules.

Jon

Dec 2 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by JD Kronicz | last post: by
9 posts views Thread by Zlatko Matić | last post: by
8 posts views Thread by scorpion53061 | last post: by
5 posts views Thread by eBob.com | last post: by
30 posts views Thread by lgbjr | last post: by
6 posts views Thread by Tim Roberts | last post: by
6 posts views Thread by Stephany Young | last post: by
14 posts views Thread by Siv | last post: by
4 posts views Thread by =?Utf-8?B?Y2xhcmE=?= | last post: by
reply views Thread by rosydwin | last post: by

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.