Click here to Skip to main content
15,886,075 members
Articles / Programming Languages / Objective C

DCOM D-Mystified: Questions and Answers

Rate me:
Please Sign up or sign in to vote.
4.75/5 (17 votes)
11 Aug 2000CPOL 542.3K   4.9K   50   199
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)


Written By
Team Leader
United States United States
Brian C. Hart, Ph.D., is a strategic engagement leader on a mission to leverage space technology to protect U.S. interests and assets against adversaries. Throughout Dr. Hart's career, he has enjoyed: Working closely with business executives to provide strategic direction and leadership, translating customer and competitive intelligence into compelling capture strategies and solutions, and mentoring teams to enhance individual and company capabilities while fostering an engaging and accountable environment, being involved in STEAM initiatives and education to develop greater awareness in the community, and serving the armed forces with the U.S. Navy and U.S. Army National Guard. He is excited to begin developing his career in Jacobs's Critical Mission Systems business unit, supporting NORAD and the U.S. Space Force.

Comments and Discussions

 
QuestionUnable to start service Pin
thrishulh6-Jul-16 20:25
thrishulh6-Jul-16 20:25 
QuestionPlease need some help.http://s.codeproject.com/script/Forums/Images/smiley_cry.gif Pin
Tumwikirize17-Jul-14 2:14
Tumwikirize17-Jul-14 2:14 
1) C project
Combinations generator
A number of clients normally want to come up with a list of words that follow a certain pattern. Sometimes the number of possible combinations is too many for them to generate. As a software engineering student who has studied C programming, you decide to lend a hand in writing software that can easily generate a combination of words. The companies therefore give you the following specifications on which you will base to generate any combination of words that match a given pattern. Only letters from A to Z, Numbers 0 to 9 and space are allowed in the combinations. To generate a pattern, one must know the following
a) Which letter(s) or number(s) must start the word
b) Which ones must be the last
c) Which ones follow after a given set
d) How many of the letters or numbers must follow/ start or end?
Once one knows all the above, a list of possible combinations is generated and written to a file which is later given to the client. The clients also want to assign the generated list of words to people. Once a combination has been assigned, it cannot be re-assigned to another person.
Your assignment : You are required to write a C project that solves the above problem, implemented using a makefile with the following files
i. Combination.c (contains the main function)
ii. CombinationAssignment.c and CombinationAssignment.h (Performs the assignment of the combinations to individuals)
iii. CombinationGenerator.c and CombinationGenerator.h (Gennerates the combinations )

For example:
I would like to generate a list of licence number plates starting with letters UA, followed by any other letter , which is followed by space, followed by three numbers, followed by one letter. The program is expected to display the following menu:
Menu
i. Start with
ii. Followed by
iii. End with
Every after any of the above options is selected, the user should enter the number of either characters or numbers or spaces required. Eg
If this is the output
Choose an option that suits you: i (I has been selected)
i- Letters?
ii- Words?
iii- Spaces?
>> I (letters have been selected)
How many ? 2 (2 has been entered)
Menu
i) Follow with
ii) End with
Cry | :((
The process should continue until when one chooses the option of “end with”. This is when the system should stop prompting the user. It should then generate a list of combinations and put them in a file as below
UAA 000D Free
UAA 001D Free
ETC

If the client assigns the numbers, this is how the file should look like
UAA 000D Taken by Namata Carol
UAA 001D Free
UAB 112E Taken By Kansiime Teo
GeneralFor visual studio 2010 Pin
Debojyoti Majumder3-May-11 19:39
Debojyoti Majumder3-May-11 19:39 
GeneralData types Pin
Sponky7719-Dec-06 23:23
Sponky7719-Dec-06 23:23 
GeneralRe: Data types Pin
Brian C Hart20-Dec-06 8:23
professionalBrian C Hart20-Dec-06 8:23 
GeneralCOM Configuration Pin
Sponky7719-Dec-06 23:02
Sponky7719-Dec-06 23:02 
GeneralRe: COM Configuration Pin
Brian C Hart20-Dec-06 8:24
professionalBrian C Hart20-Dec-06 8:24 
GeneralDataGrid +asp.net Pin
jasyGerges25-Sep-06 7:33
jasyGerges25-Sep-06 7:33 
GeneralDCOM & dll Pin
fatal00531-May-06 22:12
fatal00531-May-06 22:12 
GeneralInteresting event (seen by event viewer) Pin
vvj197930-May-06 1:22
vvj197930-May-06 1:22 
GeneralI don't get the HelloServps.dll Pin
Mike Jo9-May-06 21:18
Mike Jo9-May-06 21:18 
QuestionRemote COM Pin
Malli_S12-Feb-06 19:32
Malli_S12-Feb-06 19:32 
GeneralI am not able to call interface method from vc++ client Pin
Maddie from Dartford14-Dec-05 2:08
Maddie from Dartford14-Dec-05 2:08 
GeneralRe: I am not able to call interface method from vc++ client Pin
benm9999999925-Jan-06 15:44
benm9999999925-Jan-06 15:44 
QuestionHow do I create an Object( instance ) on a remote machine ??? Help Pin
Member 223732130-Aug-05 19:25
Member 223732130-Aug-05 19:25 
QuestionLooking for a DCOM Solution? Pin
Brian C Hart19-Aug-05 12:07
professionalBrian C Hart19-Aug-05 12:07 
GeneralUnable to access IHelloWorld because Access is denied. Pin
Anonymous23-Mar-05 1:27
Anonymous23-Mar-05 1:27 
GeneralRe: Unable to access IHelloWorld because Access is denied. Pin
Brian C Hart23-Mar-05 13:29
professionalBrian C Hart23-Mar-05 13:29 
Generaltool to convert DCOM interface into tcp/ip Pin
zabush17-Jul-04 8:25
zabush17-Jul-04 8:25 
GeneralConfused ! Pin
Sebastian S.12-May-04 21:56
Sebastian S.12-May-04 21:56 
GeneralClass Not Register Pin
Saiprabhu20-Apr-04 23:10
professionalSaiprabhu20-Apr-04 23:10 
GeneralRe: Class Not Register Pin
Balkrishna Talele20-Apr-04 23:27
Balkrishna Talele20-Apr-04 23:27 
GeneralRe: Class Not Register Pin
Thomas Mielke3-Oct-06 21:58
Thomas Mielke3-Oct-06 21:58 
GeneralTimeout for COM+ Functions (Release) if server not available Pin
harkan4-Mar-04 4:34
harkan4-Mar-04 4:34 
GeneralRe: Timeout for COM+ Functions (Release) if server not available Pin
Brian C Hart4-Mar-04 4:44
professionalBrian C Hart4-Mar-04 4:44 

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.