Paul The memory allocated to contained objects, and records etc
N ----- Original Message ----- From: "Paul Mckenzie" <[EMAIL PROTECTED]> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> Sent: Monday, July 14, 2003 8:37 AM Subject: Re: [DUG]: size of object > What size are you after ? > There are various issues with getting the size of an object. > - Are you after DataMembers > - Are you after the memory allocated for MethodPointers > - Does the object contain other Objects (the memory for them is 4 bytes a > pointer) > - Are you after the memory allocated for contained Objects > - Are any of the resources (e.g. Records, Objects, etc) shared with other > objects - who owns them > > > Regards > Paul McKenzie > Analyst Programmer > SMSS Ltd. > > ----- Original Message ----- > From: "Neven MacEwan" <[EMAIL PROTECTED]> > To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> > Sent: Friday, July 11, 2003 7:34 AM > Subject: [DUG]: size of object > > > > Hi > > > > Is there any simple way to get the memory allocaed to an object > > > > sizeof(Object) = 4 > > > > TIA > > > > Regards Neven > > N.K. MacEwan B.E. E&E > > Ph 649 621 0001 > > Fax 649 621 0400 > > [EMAIL PROTECTED] > > > > -------------------------------------------------------------------------- > - > > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > > Website: http://www.delphi.org.nz > > To UnSub, send email to: [EMAIL PROTECTED] > > with body of "unsubscribe delphi" > > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > > > > > -------------------------------------------------------------------------- - > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > > --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
