Data Set Internals

You probably know that the TDataset class is a base abstract class providing the foundations of Delphi database access. You might not know, though, that this class has a large number of virtual abstract methods requiring a rather low level implementation of buffer-level management, which in the past where all based on PChar pointers.

Needless to say, in Delphi 2009 this isn't true any more. Most low level pointers are now declared either as PByte or TBytes (that is, array of Byte). To clean up code and simplify it, the DB unit introduces and uses the new TRecordBuffer type and modifies the list of buffers type (that used to be an array of PChar):

Was this article helpful?

0 0
Project Management Made Easy

Project Management Made Easy

What you need to know about… Project Management Made Easy! Project management consists of more than just a large building project and can encompass small projects as well. No matter what the size of your project, you need to have some sort of project management. How you manage your project has everything to do with its outcome.

Get My Free Ebook

Post a comment