471,356 Members | 1,554 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

Reflection / Dependencies / Remoting

Hi,
I have made a "shell" for Windows applications. The shell contains auto
update, authentication and other things that are common for applications. The
shell can contain 1 or more applications.

Each application is a plugin and resides in a separate assembly. The
applications are loaded with Reflection into the shell.

The file structure is as follows:
ShellApp Folder (contains Shell.exe)
Plugin Folder (contains all the applications)

Here comes my question:
I have made an application that uses remoting. The (client) application
consist of two assemblys: App.dll and CommonRemoting.dll. In
CommonRemoting.dll I have put the classes that are in common between the
server and client. App.dll has a dependency to CommonRemotin.dll.
My problem rises when I try to do remoting. Since Shell.exe has loaded
App.dll by remoting it seems as App.dll can't find CommonRemoting.dll as it
should.
It works when App.dll connects to the server but when the server sends a
custom object (that is specified in CommonRemoting) I get an exception.

If I put Shell.exe, App.dll and CommonRemoting.dll in the same directory
then everything works, but I really don't want to do that.

Has anyone any ideas on how to solve my problem?

Best regards
Björn Jansson
Jul 21 '05 #1
0 1079

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Sam Loveridge | last post: by
reply views Thread by Björn Jansson | last post: by
3 posts views Thread by Tim Marsden | last post: by
reply views Thread by XIAOLAOHU | 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.