Solved

DCOM server & client registration with C++

Posted on 1997-06-25
2
229 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

759 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now