Click here to Skip to main content
16,004,778 members
Home / Discussions / COM
   

COM

 
GeneralATL Controls Pin
Vese15-Aug-00 9:15
Vese15-Aug-00 9:15 
Generalcom Pin
KNEI15-Aug-00 3:59
sussKNEI15-Aug-00 3:59 
GeneralRe: com Pin
Alex Gorev22-Aug-00 7:28
Alex Gorev22-Aug-00 7:28 
Generalcom Pin
koteswara9-Aug-00 19:48
koteswara9-Aug-00 19:48 
GeneralRe: com Pin
Alex Gorev10-Aug-00 5:23
Alex Gorev10-Aug-00 5:23 
GeneralDCOM Tutorial Announcement Pin
Brian Hart9-Aug-00 14:54
Brian Hart9-Aug-00 14:54 
Generalc++ class relationships Pin
koteswara8-Aug-00 0:38
koteswara8-Aug-00 0:38 
GeneralRe: c++ class relationships Pin
Alex Gorev8-Aug-00 5:08
Alex Gorev8-Aug-00 5:08 
Hi,

In C++ you can use inheritance, which is 'kind-of' relationship, or composition, which is 'has-a' relationship. You also can use the private inheritance, which is just a syntactic variant of composition.

Aggregation and containment are related to the COM. Aggregation is exposing a binary sub-object to the client as is using the QueryInterface. Not all classes are aggregatable and you may want to expose only part of the object's functionality, in this case you can use containment.

The best source of information on this topic is the Don Box's book "Essential COM".

Regards,
Alex Gorev,
Dundas Software.
GeneralRe: c++ class relationships Pin
Vese15-Aug-00 9:23
Vese15-Aug-00 9:23 
GeneralWebbrowser repaint Pin
dooly7-Aug-00 23:21
dooly7-Aug-00 23:21 
GeneralRe: Webbrowser repaint Pin
Brian Hart9-Aug-00 14:58
Brian Hart9-Aug-00 14:58 
GeneralRe: Webbrowser repaint Pin
dooly13-Aug-00 14:37
dooly13-Aug-00 14:37 
GeneralRe: Webbrowser repaint Pin
Erik Thompson12-Aug-00 17:51
sitebuilderErik Thompson12-Aug-00 17:51 
GeneralRe: Webbrowser repaint Pin
dooly13-Aug-00 14:36
dooly13-Aug-00 14:36 
GeneralHTML help viewer Pin
koteswara7-Aug-00 2:07
koteswara7-Aug-00 2:07 
GeneralRe: HTML help viewer Pin
Brian Hart9-Aug-00 14:59
Brian Hart9-Aug-00 14:59 
QuestionHow to implement interfaces in separate classes (ATL) Pin
ekarlsso6-Aug-00 3:09
ekarlsso6-Aug-00 3:09 
Generalpolymorphism Pin
Rao2-Aug-00 21:21
Rao2-Aug-00 21:21 
GeneralRe: polymorphism Pin
Alex Gorev3-Aug-00 5:37
Alex Gorev3-Aug-00 5:37 
GeneralRe: polymorphism Pin
Brian Hart7-Aug-00 16:47
Brian Hart7-Aug-00 16:47 
QuestionVC++ ATL Server, VB Client, VARIANTs and SAFEARRAYs ?? Pin
Keith Gemeinhart31-Jul-00 5:05
sussKeith Gemeinhart31-Jul-00 5:05 
AnswerRe: VC++ ATL Server, VB Client, VARIANTs and SAFEARRAYs ?? Pin
Alex Gorev1-Aug-00 4:03
Alex Gorev1-Aug-00 4:03 
GeneralRe: VC++ ATL Server, VB Client, VARIANTs and SAFEARRAYs ?? Pin
Keith Gemeinhart2-Aug-00 5:46
sussKeith Gemeinhart2-Aug-00 5:46 
QuestionIE Context menu on ActiveX control..? Pin
tomer30-Jul-00 22:41
tomer30-Jul-00 22:41 
Generalcannot receiving events Pin
khoonking30-Jul-00 20:57
khoonking30-Jul-00 20:57 

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.