473,385 Members | 1,925 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,385 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 1151

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

Similar topics

3
by: Sam Loveridge | last post by:
Hi all. I have a Web Service that I'm writing that needs to reference a VB.NET dll. The catch is that the VB.NET dll has a dependency on a COBOL dll which I can't load in my development...
1
by: Mike Malter | last post by:
I am just starting to work with reflection and I want to create a log that saves relevant information if a method call fails so I can call that method again later using reflection. I am...
3
by: Michael Bøcker-Larsen | last post by:
Hi I'v been stuck on this problem for ages now. I have found that I'm not the only one with this problem, by looking through the different newsgroups. Hope you can help me! I know there is a...
2
by: Jeff | last post by:
I am trying to dynamically load an assembly via reflection and then invoke a method of that assembly that will populate a custom type collection passed into the method byref. I am able to...
0
by: Björn Jansson | last post by:
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....
3
by: Tim Marsden | last post by:
Hi, I am running the following vb code. I am trying to dymanically load my assembly at runtime and run a method in it. Dim ad As AppDomain Dim i as myinterface ad =...
1
by: Jan | last post by:
How do I grant permission to use reflection by a remoting server object? I'm trying to use Type.InvokeMethod in the server object class but I get a MissingMethodException: "Method '<namenot...
6
by: Miro | last post by:
I can run an exe ( and its install ) i have created on my machine. The exe has a button that populates a dataset and then shoots it to a crystal report. But... Installing the setup.exe on my...
4
by: Miro | last post by:
<i have also added this reply to the other newsgroup - now that I have realizd ( and assuming ) it is not a localized error directly to vb.> I have found this link on the website:...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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.