Re: DCOM

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




hula schrieb:

Hello

i am new to COM/DCOM and have some basic questions.

Whats the best way to share a COM object to a client via DCOM?

My Problem is following: i have build up an ATL-COM-Server (Exe). The
COM-Server loads some Library with <pragma lib> in stdafx.h
This lib is only present on the server not on the client.
My COM server needs to be called from the client within a VB
application.

My problem is i can't register the COM server on the client, as the
pragma-lib (and the underlying dll, which is loaded automaticly by the
pragma lib call) is missing on the client.

Whats the best way to solve this problem?

The only way i see is to build up a wrapper for the server-object and
also a wrapper for the wrapper?

The server interface is dual and derived from CComSingleThreadModel.

tia

I forgot to mention that i already tryed to register the server-TLB on
the client, but got the errormessage: Interface not registered in the
vb-app on the client.

.



Relevant Pages

  • Re: What doesnt lend itself to OO?
    ... >> proxy and instructs the server to constuct the real object. ... rather than client code. ... If 'clock' is instantiated in the server, ... > for the server interface at the OOA level. ...
    (comp.object)
  • This is going straight to the pool room
    ... or not the client has privilege to do what they're trying to do, ... The server environment is this: ... 3GL User action Routines that Tier3 will execute on your behalf during the ... Routine Name: USER_INIT ...
    (comp.os.vms)
  • [Full-Disclosure] R: Full-Disclosure Digest, Vol 3, Issue 42
    ... Full-Disclosure Digest, Vol 3, Issue 42 ... SD Server 4.0.70 Directory Traversal Bug ... Arkeia Network Backup Client Remote Access ...
    (Full-Disclosure)
  • Re: What doesnt lend itself to OO?
    ... > rather than client code. ... no way to do that without also touching the object with clock semantics ... will not encapsulate both clock semantics and network semantics. ... The server can do whatever it wants ...
    (comp.object)
  • RE: Fax monitor incoming + outgoing calls?
    ... problem between the client computer and the SBS server. ... Client is using the internal IP address of the SBS server as the ... To the folder redirection GPO issue: ...
    (microsoft.public.windows.server.sbs)