Re: Remoting access from VBScript
- From: "Willy Denoyette [MVP]" <willy.denoyette@xxxxxxxxxx>
- Date: Sun, 7 May 2006 18:53:07 +0200
..NET remoting requires .NET at both sides, what you are looking for is COM
interop, more precisely DCOM.
Willy.
<kiranreddyd@xxxxxxxxx> wrote in message
news:1146576379.178797.5960@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|I have trouble accessing a remoting object from non .Net client say
| VBScript. I've created a Windows Service written in C#. The Service
| exposes a remoting object using the http channel. The remoting object
| has one function - HelloWorld() that returns a string.
|
| I can call the function by using a simple c# program:
|
| HttpChannel chan = new HttpChannel(0);
| ChannelServices.RegisterChannel(chan);
| MarshalByRefObject obj =
| (MarshalByRefObject)RemotingServices.Connect(typeof(TestServer.IHelloWorld
| ),
|
| TestServer.IHelloWorld o = obj as TestSvc.IHelloWorld;
| string hello = o.HelloWorld(); // hello now contains "Hello"
|
|
| I can't figure out, however, how to call this same function from a
| VBScript . Can someone please help me out.
|
| Thanks in advance.
|
| Regards
| Kiran
|
.
- References:
- Remoting access from VBScript
- From: kiranreddyd
- Remoting access from VBScript
- Prev by Date: Re: Stop server thread from client
- Next by Date: hooks to ORPC?
- Previous by thread: Remoting access from VBScript
- Next by thread: CAO & Multithreading
- Index(es):
Relevant Pages
|
Loading