Google Answers Logo
View Question
 
Q: Creating COM/DCOM Properties and Methods ( No Answer,   0 Comments )
Question  
Subject: Creating COM/DCOM Properties and Methods
Category: Computers
Asked by: bpinvest-ga
List Price: $10.00
Posted: 16 Aug 2006 05:14 PDT
Expires: 15 Sep 2006 05:14 PDT
Question ID: 756545
Hi,

I'm learning C++/COM/DCOM at the moment and I don't know how to create
"nested classes" in my C++/COM server.  For example, I want to create
a COM server dll that can be used in a client tool (eg VB6) that can
do the following (the example is taken from Finance but could equally
be taken from any other field):

Dim oCallOption as InstrumentLib.Option.Call
Dim oPutOption as InstrumentLib.Option.Put

Set oCallOption = new InstrumentLib.Option.Call
Set oPutOption = new InstrumentLib.Option.Put


What do I do in C++/COM to create the "nested objects" Option.Call and
Option.Put?  How do I expose Properties/Methods on a COM object that
are Custom data types and not intrinsic data types?

Thanks
Mark
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy