
C++ DCOM server from VB Client (HOW?)
Use something like my DCOM bridge
(http://www.wam.umd.edu/~mikenel/dcom/dcombrdg.zip) to connect to abitrary
remote objects. It's a COM object written in C++ which allows you to use the
CoCreateInstanceEx() API.
-mike
: I've created a DCOM server component using Visual C++ with a custom
: interface (not IDispatch). The server will run on my own PC (NT4).
: I've also written a client using VB5. I've added the server's type library
: to the project. On my local system, the client/server work fine.
: I also have a C++ client that works with the server. It gets shipped
: with a proxy/stub DLL. No problems there, either.
: Two questions:
: 1) HOW do I configure/distribute the VB client so that it knows where the
: server is?
: I've seen one knowledge-base article (Q161837) - however in that article
: both
: client and server are built with VB, and there's a .VBR file. I don't have
: a .VBR
: file because my server was built with C++.
: Currently I get error 429. But I'm not surprised it doesn't work, because
: I've not specified a server anywhere.
: 2) If I want the VB client to specify the server name at RUN-TIME, how
: should I do that? (That's how my C++ client already works)