Why do you need to implement a COM interface to do aggregation?
Strict aggregation simply requires the declaration of a public or private
member variable.
If you mean "collections" then there is a set of collection classes
available already. No need to call COM for that.
On the other hand, if you have a need for a COM app to call your .Net app,
google on ".net COM Interop"
--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik
Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
"Jozsef Bekes" <bj****@hotmail.com> wrote in message
news:u6****************@tk2msftngp13.phx.gbl...
Hi,
I would like to implement aggregation in C#, therefore I'd need to
implement the queryinterface COM function of a class. I am not sure
whether this can be done, and if yes where to start. If someone has an
example, a hint or anything that might help, please share it with me.
Thanks and Regards,
Jozsi