Do I make my COM object aggregatable or not?
I use ATL to implement a COM object. I can use o开发者_开发知识库ne of ATL aggregation macros to change whether the object will be aggregatable. The default is "yes, it is aggregatable".
How do I decide whether I need to allow or prohibit aggregation for my COM object?
精彩评论