A
Ashish Sheth
Hi all gurus,
How .NET manages the life time of a COM object that is called from a
..NET assembly using COM interoperability? My doubt is, COM uses
reference counting for life time management while .NET objects are
garbage collected. so when a COM object will not have any references to
it in .NET assembly it should be released from the memory but the actual
..NET proxy may not be released untill the garbage collector runs. so
when actually the COM object will be released from the memory?
thanks and regards,
Ashish
How .NET manages the life time of a COM object that is called from a
..NET assembly using COM interoperability? My doubt is, COM uses
reference counting for life time management while .NET objects are
garbage collected. so when a COM object will not have any references to
it in .NET assembly it should be released from the memory but the actual
..NET proxy may not be released untill the garbage collector runs. so
when actually the COM object will be released from the memory?
thanks and regards,
Ashish