Subscribe to this list via RSS Blog posts tagged in TMonitor
Why Has the Size of TObject Doubled In Delphi 2009? Because it has a new feature. Mason Wheeler noticed that TObject.InstanceSize returns 8 (bytes). It turns out that this is new in Delphi 2009; in previous releases, TObject.InstanceSize returned 4. But when you look at the definition of TObject in System.pas, you don't see any fields declared at all. Four out of the eight bytes are consumed by the VMT; this has been true since the first version of Delphi. You can read more about that in this chapter from Delphi In A Nutshell, which is old,...
  • Page :
  • 1

Check out more tips and tricks in this development video: