Original Post
I'm trying to write a plugin framework which uses appdomains to run the plugins. Everything is going nicely but there's one problem: I would like to have a "library" in my host application with methods like "WriteToScreen(text)", "ClearScreen()" etc. and I would like to use my plugins to access these functions. So for example one of my plugins would contain stuff like: host.ClearScreen(); host.RemoveWindowSize(640,480); host.WriteToScreen("This is my plugin writing"); I haven't found any tutorials about this and I just can't get my head around the problem. With the host and the plugins in the same appdomain this should be easier but I want to be able to update the plugins without closing my host-application, so I have to use secondary appdomain for running the plugin. So my question, finally, is that has anyone solved this problem before and if yes, how? Or does someone know any tutorials about the subject? Thanks for answers in advance. [Edited by - mijapkos on June 28, 2007 6:36:49 AM]