Re: Creating a remotable object like DCOM



Jayme,

In DCOM, AFAIR it is also the server who creates the object - an interface you are given is actually only a proxy (or stub, can't remember exactly which of them runs on the client side).

--
Regards,
Dmytro Lapshyn [MVP]
http://blogs.vbcity.com/DmytroL

"Jayme Pechan" <jayme.pechan@xxxxxxxxxxxxx> wrote in message news:OwiHaFC4GHA.600@xxxxxxxxxxxxxxxxxxxxxxx
Does anyone know if it is possible to return an object from a remoting interface and have it be usable with .NET? I am trying to accomplish what I used to do in DCOM where I would call a function on an interface and it would return a new remote object. I could then call functions on that new object. When I attempt this with .NET it complains that the object has no channel sink. When I looked into the .NET configuration settings, this scenerio didn't seem to fit the 3, SingleCall, SingleInstance, or Client Initiated. The closest one I could think of was Client Initiated but it is the server that creates the object. Any ideas? Is this just not possible with .NET?

Thanks.

Jayme


.



Relevant Pages

  • Re: DCOM error (CoCreateInstanceEx works, QueryInterface fails with E_ACCESSDENIED)
    ... though it does not happen if client and server are both Windows ... What OSes do the client and server use? ... CoSetProxyBlanket function or IClientSecurity interface? ... I'm experiencing problem with DCOM in a client/server scenario. ...
    (microsoft.public.win32.programmer.ole)
  • Re: Creating a remotable object like DCOM
    ... Right, in DCOM, I create the object on the server and it marshals the ... interface to the client which is a proxy because all calls to the object get ... In DCOM, AFAIR it is also the server who creates the object - an interface ...
    (microsoft.public.dotnet.framework)
  • COCreateInstance fails from service for non-admin
    ... W2k Client and Server ... I have an NT service that creates gets an interface to a COM serverI ... in as a non-admin, all is fine. ... Access denied attempting to launch a DCOM Server. ...
    (microsoft.public.vc.atl)
  • DCOM error Access Denied in service
    ... W2k Client and Server ... I have an NT service that creates gets an interface to a COM serverI ... in as a non-admin, all is fine. ... Access denied attempting to launch a DCOM Server. ...
    (microsoft.public.win2000.security)
  • Re: What doesnt lend itself to OO?
    ... The whole idea that a subsystem is just ... > The first line exists in the server. ... objects between client and server i.e. as far as the client code is ... > external interface is the traditional input interface whose ...
    (comp.object)