Click to See Complete Forum and Search --> : C++/COM gurus: Need help desperately!!


mce16
October 11th, 1999, 03:18 AM
I developed a server.exe with one Interface and one method only. All is working fine under the same machine. But now i want to do some cross machine COM component. How can i access the component server.exe from a remote client machine? Any hint/guide to any reference is much appreciated! I really couldn't find any such guide in the books that i read..

Geleo
October 11th, 1999, 06:16 AM
Perhaps you might use DCOM.

Curtis Slaughter
October 12th, 1999, 08:23 AM
There is a good document example Project provided
with VC++, "SendTime". You should take a look at it. Check the documention of the following command. This command is able to start a instance of a Object on a Remote-server.

"CoCreateInstanceEx"

There's some work to be done to get the needed parameters for this call.

Don't forget to set-your Server for remote-access. Use DCOMCNFG.EXE to do this. Yes, you will be running under a Dcom enviroment.

I Hope this will help you get started.

curtis