CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 1999
    Posts
    272

    C++/COM gurus: Need help desperately!!

    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..




  2. #2
    Join Date
    Sep 1999
    Location
    Moscow, Russia
    Posts
    14

    Re: C++/COM gurus: Need help desperately!!

    Perhaps you might use DCOM.


  3. #3
    Join Date
    Sep 1999
    Location
    Landshut, Germany
    Posts
    3

    Re: C++/COM gurus: Need help desperately!!

    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


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured