About the author
Delphi 8 provides an easy way to serialize any VCL.NET or any NET framework object.
The following code fragment shows how easy it is to serialize a .NET framework class object, a System.Windows.Forms.Button.
In Delphi speak, it's known as streaming, and it's been available in Delphi since 1994 or 1995. Now, the power of streaming any VCL.NET object is in your hands!
Note that the format of VCL streaming and .NET serialization is different and you should not mixed them together!
var F: TFileStream; MyButton: Button;begin F := TFileStream.Create('C:\TEMP\SERIALIZE.TXT', fmCreate); MyButton := Button.Create; F.WriteComponent(MyButton); MyButton.Free; F.Free;end;
How to free more space on your home drive by redirecting the location for SDKs in RAD Studio
Learn the command line used to compile System.pas in Delphi
A method to design records so that they're allocated on a specific byte boundary, such as 16 bytes, 512 bytes, 4096 bytes, etc.
Learn why the map is cool in Go!