C Board  

Go Back   C Board > General Programming Boards > C# Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 06-18-2008, 09:33 AM   #1
Registered User
 
Join Date: Apr 2005
Posts: 11
Remotable types

Hi,

I'm trying to get a very simple remotable type example working (from http://msdn.microsoft.com/en-ie/libr...2e(en-us).aspx ).

I've put together the Remotable Type, the Server/Host and the Client exactly as in the tutorial. The Client is on a different machine from the other 2 (although you need to copy the RemotableType.dll to the client and add a reference to it).

In my client, I configure the remote connection (specifying the machine etc. as in the tutorial) and then create my instance of the remotable class with the code below:

Code:
RemotingConfiguration.Configure("Client.exe.config.txt", false);
RemotableType.RemotableType remoteObject = new RemotableType.RemotableType();
The trouble is, this is simply creating and running the remotableType on the Client machine. Is there something extra I need to do to actually get it to make that connection to the Server machine, have it run the code and return the result to the client as the tutorial says it does.

Thanks.
Conor.
conor20_ie is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
My Program gives a load of errors on comile, can some1 help explain them to me please MadnessRed C Programming 6 08-23-2008 01:16 PM
The Interactive Animation - my first released C program ulillillia General Discussions 48 05-10-2007 02:25 AM
invalid types 'int[int]' for array subscript kolistivra C++ Programming 2 04-10-2007 11:01 AM
List or container to hold types tony_chestnut C++ Programming 6 04-21-2006 11:46 AM
Dikumud maxorator C++ Programming 1 10-01-2005 06:39 AM


All times are GMT -6. The time now is 05:22 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22