I have a text editor control srtitten with VB 6.0 or VC 6.0 and now we have a AxInterop for it in the refrences and I have put it in a .NET custom control and been using it like that. So now I am wondering if this is considered a Maanged resource or an unmanaged resource? The reason for asking this is that I am running a memory profiler tool and looking at its graphs I see like 60MB of memory allocated to Unmanaged Resources ..so was wondering if this is the culprit?
Share
COM wrappers are “Runtime Callable Wrappers” and are managed resources. The 60MB of memory allocated to “unmanaged resources” are not the wrappers themselves, however may well be as a result of the underlying COM object whose lifetime is generally tied to that of the RCW.
See Runtime Callable Wrapper on MSDN