Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 1999-10

DFM conversion code

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Sebastian Günther

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

Reply by email