Click here to Skip to main content
12,355,614 members (70,935 online)
Click here to Skip to main content
Add your own
alternative version

Stats

433.8K views
4.7K downloads
49 bookmarked
Posted

DCOM D-Mystified: Questions and Answers

, 11 Aug 2000 CPOL
Rate this:
Please Sign up or sign in to vote.
Brian's detailed answers to your most frequently asked questions about his DCOM tutorial.

Introduction

Welcome to the Questions and Answers page for the DCOM D-Mystified tutorial. I have created this extra page so I can more richly (such as with screenshots and following my source code conventions) provide you, my readers, with answers to your frequently asked questions. These are questions that you either ask me directly by e-mail, or that you post to The Code Project's message boards at the ends of each of the steps of the tutorial.

Source Code Archive

If you follow along through the tutorial as it goes, there is source code provided with each step, and all the instructions in the tutorial allow you to follow along and end up with the same source code (we hope) as is provided for download. However, it's also nice to be able to just have a central place where the source code for all steps can be found, regardless of which one you're on.

To get the source code for a particular step, simply click the link in the list below to download the corresponding files.

Questions and Answers

A step of the tutorial mentions that there are these "Back" and "Next" buttons at the bottom of the page. I see "<< Back" and "Next >>" *links*, but no buttons. Do these work? What's up?

The "Back" and "Next" buttons which the question asked about used JavaScript; Chris Maunder (this site's administrator) and I decided to turn the buttons into links because not all browsers support or allow JavaScript. The links work just like the buttons and step you through the tutorial.

Why do you stop at generating the project with AppWizard in Step 1 and make us go on to Step 2?

I do this so if you choose to download the sample source code for Step 1, you get a freshly-started project which hasn't been modified yet, and having just generated the project is a great stopping place if it's late in the evening. Scroll down to the bottom of the article page and click the Next button to move on to Step 2, where we actually begin to modify the source files.

Notes From the Rear

This page is here because DCOM is such a complex and intricate subject that many people have lots of questions, even with the most well-documented tutorial. Also, sometimes it helps to be able to have the ability to answer your questions with figures, charts, diagrams, and screenshots. The message boards, great though they are, just don't provide that functionality. I strongly encourage you to pose questions to the message boards, and I'll either reply to you on the board or put up a "Hey everybody, the answer to this is on the Questions and Answers page!" if a lot of people ask about it.

Each time I've added a new question to this page, Chris Maunder's excellent scripts will mark it with a little 'Updated' graphic, and the home page will let you know it's been updated. Then simply go to this page to see what's new!

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Brian C Hart
Software Developer (Senior) Corrugated Technologies, Inc.
United States United States
From Fridley, Minnesota and I like computer programming! When I got started, I was working mostly with Windows GUI programming in C/C++. Then later on I worked with COM/DCOM for a school internship. I used COM/DCOM to write an ad hoc cluster server and job-running environment for a cluster of 24 Windows-based high-end visualization workstations. I moved on to C# and have been working in C# and Windows Forms ever since. I have yet to embrace Silverlight Smile | :)

You may also be interested in...

Comments and Discussions

 
QuestionPlease need some help.http://s.codeproject.com/script/Forums/Images/smiley_cry.gif Pin
Tumwikirize17-Jul-14 2:14
memberTumwikirize17-Jul-14 2:14 
GeneralFor visual studio 2010 Pin
Debojyoti Majumder3-May-11 19:39
memberDebojyoti Majumder3-May-11 19:39 
GeneralData types Pin
Sponky7719-Dec-06 23:23
memberSponky7719-Dec-06 23:23 
GeneralRe: Data types Pin
Brian Hart20-Dec-06 8:23
memberBrian Hart20-Dec-06 8:23 
GeneralCOM Configuration Pin
Sponky7719-Dec-06 23:02
memberSponky7719-Dec-06 23:02 
GeneralRe: COM Configuration Pin
Brian Hart20-Dec-06 8:24
memberBrian Hart20-Dec-06 8:24 
GeneralDataGrid +asp.net Pin
jasyGerges25-Sep-06 7:33
memberjasyGerges25-Sep-06 7:33 
GeneralDCOM & dll Pin
fatal00531-May-06 22:12
memberfatal00531-May-06 22:12 
GeneralInteresting event (seen by event viewer) Pin
vvj197930-May-06 1:22
membervvj197930-May-06 1:22 
GeneralI don't get the HelloServps.dll Pin
vhung999-May-06 21:18
membervhung999-May-06 21:18 
QuestionRemote COM Pin
Malli_S12-Feb-06 19:32
memberMalli_S12-Feb-06 19:32 
GeneralI am not able to call interface method from vc++ client Pin
gajesh14-Dec-05 2:08
membergajesh14-Dec-05 2:08 
GeneralRe: I am not able to call interface method from vc++ client Pin
benm9999999925-Jan-06 15:44
memberbenm9999999925-Jan-06 15:44 
QuestionHow do I create an Object( instance ) on a remote machine ??? Help Pin
S.H.Chethan30-Aug-05 19:25
memberS.H.Chethan30-Aug-05 19:25 
QuestionLooking for a DCOM Solution? Pin
Brian Hart19-Aug-05 12:07
memberBrian Hart19-Aug-05 12:07 
GeneralUnable to access IHelloWorld because Access is denied. Pin
Anonymous23-Mar-05 1:27
sussAnonymous23-Mar-05 1:27 
GeneralRe: Unable to access IHelloWorld because Access is denied. Pin
Brian Hart23-Mar-05 13:29
memberBrian Hart23-Mar-05 13:29 
Generaltool to convert DCOM interface into tcp/ip Pin
zabush17-Jul-04 8:25
memberzabush17-Jul-04 8:25 
GeneralConfused ! Pin
Sebastian S.12-May-04 21:56
memberSebastian S.12-May-04 21:56 
GeneralClass Not Register Pin
Saiprabhu20-Apr-04 23:10
memberSaiprabhu20-Apr-04 23:10 
GeneralRe: Class Not Register Pin
Balkrishna Talele20-Apr-04 23:27
memberBalkrishna Talele20-Apr-04 23:27 
GeneralRe: Class Not Register Pin
Thomas Mielke3-Oct-06 21:58
memberThomas Mielke3-Oct-06 21:58 
GeneralTimeout for COM+ Functions (Release) if server not available Pin
harkan4-Mar-04 4:34
sussharkan4-Mar-04 4:34 
GeneralRe: Timeout for COM+ Functions (Release) if server not available Pin
Brian Hart4-Mar-04 4:44
memberBrian Hart4-Mar-04 4:44 
GeneralRPC server is unavailable..!!! Pin
newnick23-Feb-04 15:17
membernewnick23-Feb-04 15:17 
GeneralRe: RPC server is unavailable..!!! Pin
Brian Hart4-Mar-04 7:14
memberBrian Hart4-Mar-04 7:14 
GeneralRe: RPC server is unavailable..!!! Pin
newnick4-Mar-04 13:18
membernewnick4-Mar-04 13:18 
GeneralRe: RPC server is unavailable..!!! Pin
Brian Hart4-Mar-04 19:52
memberBrian Hart4-Mar-04 19:52 
GeneralRe: RPC server is unavailable..!!! Pin
newnick11-Mar-04 17:51
membernewnick11-Mar-04 17:51 
GeneralRe: RPC server is unavailable..!!! Pin
Anonymous11-Mar-04 18:41
sussAnonymous11-Mar-04 18:41 
GeneralRe: RPC server is unavailable..!!! Pin
newnick11-Mar-04 20:08
membernewnick11-Mar-04 20:08 
GeneralRe: RPC server is unavailable..!!! Pin
Brian Hart11-Mar-04 20:32
memberBrian Hart11-Mar-04 20:32 
GeneralRe: RPC server is unavailable..!!! Pin
newnick11-Mar-04 20:53
membernewnick11-Mar-04 20:53 
GeneralRe: RPC server is unavailable..!!! Pin
jjjqin25-Sep-06 12:39
memberjjjqin25-Sep-06 12:39 
GeneralI want add a method like this Pin
chenjk19736-Feb-04 0:14
memberchenjk19736-Feb-04 0:14 
GeneralClass unregistered automatically after a few seconds Pin
dapipi15-Jan-04 18:18
memberdapipi15-Jan-04 18:18 
QuestionHow to raise events from DCOM Server Pin
Nguyen Duc Thang4-Jan-04 17:45
memberNguyen Duc Thang4-Jan-04 17:45 
AnswerRe: How to raise events from DCOM Server Pin
Brian Hart5-Jan-04 8:56
memberBrian Hart5-Jan-04 8:56 
GeneralBSTR problem Pin
xin_jian_yu1-Dec-03 2:28
memberxin_jian_yu1-Dec-03 2:28 
GeneralError starting server AGAIN Pin
tkp29-Jul-03 2:39
membertkp29-Jul-03 2:39 
GeneralRe: Error starting server AGAIN Pin
Brian Hart29-Jul-03 7:16
memberBrian Hart29-Jul-03 7:16 
GeneralCalling multiple DCOMs Pin
sdaymond21-Jul-03 20:24
membersdaymond21-Jul-03 20:24 
GeneralRe: Calling multiple DCOMs Pin
Brian Hart22-Jul-03 6:29
memberBrian Hart22-Jul-03 6:29 
GeneralRe: Calling multiple DCOMs Pin
sdaymond22-Jul-03 8:36
membersdaymond22-Jul-03 8:36 
GeneralRe: Calling multiple DCOMs Pin
Brian Hart22-Jul-03 10:48
memberBrian Hart22-Jul-03 10:48 
Generalerror starting server Pin
Riyadh Tanveer23-Jun-03 4:00
memberRiyadh Tanveer23-Jun-03 4:00 
GeneralRe: error starting server Pin
luenii24-Jul-03 7:35
memberluenii24-Jul-03 7:35 
GeneralInstalling the server Pin
Anonymous9-Jun-03 23:08
sussAnonymous9-Jun-03 23:08 
GeneralRe: Installing the server Pin
luenii24-Jul-03 7:37
memberluenii24-Jul-03 7:37 
GeneralRe: Installing the server Pin
Brian Hart24-Jul-03 11:29
memberBrian Hart24-Jul-03 11:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.160621.1 | Last Updated 12 Aug 2000
Article Copyright 2000 by Brian C Hart
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid