> The compiler always adds a VMT if an object has a constructor or destructor. > The reason is that the VMT also contains the instance size, which is used by > the constructor helper to allocate the required amount of memory. >
Ok but why a different behaviour between [fpc | objfpc] mode and [tp | delphi] mode ? _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal