
Size of COM object in memory
You could just as well use sizeof(YourObject) instead :)...
The question was (how I understand it at least) how to do that
in the client. The answer is - this is impossible. Transparency
is a dual-edged knife.
--
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD
MVP VC FAQ: http://www.mvps.org/vcfaq
=====================================
Quote:
> If you have designed the COM object, you can try :
> CComObjectStack<YourObject> obj;
> then
> sizeof(obj)
> --
> Frederic Claux
> > Good day
> > Do any of you guys know how to determine the exact size of a COM object in
> > memory. (Any tools available ??)
> > Thanks