[lazarus] DFM conversion code

Sebastian Günther sguenther at gmx.de
Tue Oct 19 07:15:32 EDT 1999


Hi Lazarus and KCL mailing list members,

I've finally commited the DFM/ASCII conversion code to the FCL CVS tree.
The following procedures are implemented now:

  procedure ObjectBinaryToText(Input, Output: TStream);
  procedure ObjectTextToBinary(Input, Output: TStream);
  procedure ObjectResourceToText(Input, Output: TStream);
  procedure ObjectTextToResource(Input, Output: TStream);

This procedures can be used to convert Delphi forms (DFM's) to ASCII or
to create DFM's from an ASCII input stream. Both the resource and the
plain formats (without a Win32 resource header) are supported.

The source should be simple enough for deriving DFM->XML converters.


- Sebastian






More information about the Lazarus mailing list