|
|
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 |
|
There is no answer at this time. |
|
There are no comments at this time. |
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 Home - Answers FAQ - Terms of Service - Privacy Policy |