Click here to Skip to main content
15,898,134 members
Home / Discussions / C#
   

C#

 
GeneralRe: Runtime Compilation - Worth It? Pin
Eric Astor8-Apr-03 11:41
Eric Astor8-Apr-03 11:41 
GeneralRe: Runtime Compilation - Worth It? Pin
Frank Hileman10-Apr-03 6:06
Frank Hileman10-Apr-03 6:06 
GeneralRe: Runtime Compilation - Worth It? Pin
Eric Astor10-Apr-03 6:51
Eric Astor10-Apr-03 6:51 
GeneralRe: Runtime Compilation - Worth It? Pin
Frank Hileman10-Apr-03 8:28
Frank Hileman10-Apr-03 8:28 
GeneralRe: Runtime Compilation - Worth It? Pin
Eric Astor10-Apr-03 10:01
Eric Astor10-Apr-03 10:01 
GeneralRe: Runtime Compilation - Worth It? Pin
Frank Hileman10-Apr-03 11:18
Frank Hileman10-Apr-03 11:18 
QuestionSockets with Server but what event? Pin
gekoscan13-Jan-03 11:28
gekoscan13-Jan-03 11:28 
GeneralRemoting (events/delegates) Pin
leppie13-Jan-03 9:40
leppie13-Jan-03 9:40 
Hi
I'll try to describe as much as possible.

I have my main app running in the default appdomain. I load a plugin manager class in a new AppDomain(plugin). I pass an instance(Connection class) from my main appdomain to the "plugin" appdomain by ObjectHandle. My plugin manager class then loads the plugin assemblies. These assemblies in turn registers to some events from the Connection reference in the "plugin" appdomain. Everything (loading/unloading/events/methods/etc) functions as it should except, when registering the events in my plugin , the plugin's assembly gets loaded in the main appdomain.

The question is how can i "subscribe" to these events without the main appdomian havin to load the plugin assembly? I have thought perhaps "chaining" the events to a new class in the plugin manager assembly and let my plugin subscribe to those. Seems like a lot of work (and the possiblitlity of creating duplicate/error-prone code).

Damn its seems a language is sometimes too type-safe for your liking.

Any input would be appreciated. I can mail you the code as well. A bit much too post. Smile | :)

WebBoxes - Yet another collapsable control, but it relies on a "graphics server" for dynamic pretty rounded corners, cool arrows and unlimited font support.

GeneralRe: Remoting (events/delegates) Pin
James T. Johnson14-Jan-03 8:19
James T. Johnson14-Jan-03 8:19 
GeneralRe: Remoting (events/delegates) Pin
leppie14-Jan-03 10:08
leppie14-Jan-03 10:08 
GeneralRe: Remoting (events/delegates) Pin
James T. Johnson15-Jan-03 0:02
James T. Johnson15-Jan-03 0:02 
GeneralRe: Remoting (events/delegates) Pin
leppie15-Jan-03 6:32
leppie15-Jan-03 6:32 
GeneralRe: Remoting (events/delegates) Pin
Gertjan Schuurmans15-Jan-03 12:13
Gertjan Schuurmans15-Jan-03 12:13 
GeneralRe: Remoting (events/delegates) Pin
leppie15-Jan-03 13:27
leppie15-Jan-03 13:27 
GeneralRe: Remoting (events/delegates) Pin
leppie15-Jan-03 14:41
leppie15-Jan-03 14:41 
GeneralRe: Remoting (events/delegates) Pin
leppie15-Jan-03 21:44
leppie15-Jan-03 21:44 
GeneralRe: Remoting (events/delegates) Pin
Gertjan Schuurmans16-Jan-03 7:20
Gertjan Schuurmans16-Jan-03 7:20 
GeneralRe: Remoting (events/delegates) Pin
leppie16-Jan-03 10:56
leppie16-Jan-03 10:56 
QuestionHow to use the SqlClientPermission? Pin
shanelhatcher13-Jan-03 7:48
shanelhatcher13-Jan-03 7:48 
AnswerRe: How to use the SqlClientPermission? Pin
leppie13-Jan-03 9:44
leppie13-Jan-03 9:44 
GeneralRe: How to use the SqlClientPermission? Pin
shanelhatcher14-Jan-03 8:02
shanelhatcher14-Jan-03 8:02 
GeneralFullscreen Alt-Tab problem in ManagedD3D Pin
Zinj13-Jan-03 2:22
sussZinj13-Jan-03 2:22 
GeneralRe: Windows Service & Console Server application Pin
Kannan Kalyanaraman13-Jan-03 1:14
Kannan Kalyanaraman13-Jan-03 1:14 
Generalrun external programm and catch results Pin
Daishi100213-Jan-03 0:11
Daishi100213-Jan-03 0:11 
GeneralRe: run external programm and catch results Pin
Daishi100213-Jan-03 0:58
Daishi100213-Jan-03 0:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.