Solved

DCOM server & client registration with C++

Posted on 1997-06-25
2
246 Views
Last Modified: 2010-04-10
I have a server .EXE file done in C++ (MFC) that is located on one machine.  i want to access this .EXE from several different client machines (from client programs, using DCOM).  I have been told that in order to do this, I have to register the CLSID, APPID, and proxy/stub ID's for the interface methods in each client machine.  how do I do this without registerign the entire server application on every client machine?    
0
Comment
Question by:Diomedes
2 Comments
 
LVL 23

Accepted Solution

by:
chensu earned 100 total points
ID: 1164126
You need to use the DCOM utility DCOMCNFG.EXE. Get the book "Inside COM" written by Dale Rogerson from Microsoft Press, which contains very good description on how to do it.
0
 

Author Comment

by:Diomedes
ID: 1164127
Thank you...Everybody kept giving me a long rundown of everything i had to register...etc, and yesterday I bought a very good book by Richard Grimes, called "Professional DCOM programming", which if you get another question about DCOM you might want to recommend to somebody.Again, thanks
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question