CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2000
    Location
    Olen, Belgium
    Posts
    2,477

    Accessing COM+ object on other computer

    How can I use a com object on another computer via COM+. The computer i must access is running WIN2000 and the objects are already in Component Services.
    I just need to know how I can access it. I've added the COM+ refferences, but I don't have a single clue of where to start. Any help is welcome.

    Tom Cannaerts
    [email protected]

    The best way to escape a problem, is to solve it.
    Tom Cannaerts
    email: [email protected]
    www.tom.be (dutch site)

  2. #2
    Join Date
    Oct 2001
    Location
    Bangalore.INDIA
    Posts
    25

    Re: Accessing COM+ object on other computer

    You can exports the object dll to client machine
    from component services.
    or
    copy dll and register in ur machine
    and use createobject with remotemachine as parameter.
    Or
    Do the remoteservername registary changes
    redards
    Or
    generate VBR files and include in setup and run setup on client


  3. #3
    Join Date
    Jul 2000
    Location
    Milano, Italy
    Posts
    7,726

    Re: Accessing COM+ object on other computer

    >generate VBR files and include in setup and run setup on client

    And you may need to enable RPC on both client and server machine (look at your net protocols).
    And you should already know all about Dcom...
    But you spoke of COM+. Was not MTS involved?

    Nice to see you here, you tall Guru...




    Special thanks to Lothar "the Great" Haensler, Tom Archer, Chris Eastwood, TCartwright, Bruno Paris, Dr_Michael
    and all the other wonderful people who made and make Codeguru a great place.
    Come back soon, you Gurus.

    The Rater
    ...at present time, using mainly Net 4.0, Vs 2010



    Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
    all the other wonderful people who made and make Codeguru a great place.
    Come back soon, you Gurus.

  4. #4
    Join Date
    Jan 2000
    Location
    Olen, Belgium
    Posts
    2,477

    Re: Accessing COM+ object on other computer

    Ok guys, both thanx for the answer, but I considder myself specialized in COM+ now. But hey, it's funny to know what (now seeming stupid) questions I posted more then 11 months ago...

    Tom Cannaerts
    [email protected]

    Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook
    Tom Cannaerts
    email: [email protected]
    www.tom.be (dutch site)

  5. #5
    Join Date
    Jul 2000
    Location
    Milano, Italy
    Posts
    7,726

    Not so light question

    it's funny to know what (now seeming stupid) questions I
    posted more then 11 months ago
    Not so light question: if you make a search here around
    for "Dcom", you will see how many times it has been asked and not replied...
    Have a nice day, you LampedGeniousGuru
    ...at present time, using mainly Net 4.0, Vs 2010



    Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
    all the other wonderful people who made and make Codeguru a great place.
    Come back soon, you Gurus.

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