>From a DOS prompt, use 'convert formname.dfm'. This will create a
formname.txt file (IIRC) which you can play with, and then convert back to a
binary DFM using 'convert formname.txt'

'convert.exe' is in your Delphi bin directory

Cheers,
Kerry Sainsbury
Inprise/Borland New Zealand

----- Original Message -----
From: Phil Scadden <[EMAIL PROTECTED]>
To: Multiple recipients of list DELphi <[EMAIL PROTECTED]>
Sent: Tuesday, February 08, 2000 9:07 AM
Subject: [DUG]: Turning DFM into text


> A collegue is trying to migrate a component from Delphi 4 to Delphi 5 but
while
> everything compiles, if he attempts to display the a form (the activex
container for
> the component) Delph 5 crashes. In Win95, its dead; on Win NT (where we
tried
> it in hopes of better stability) it comes up with access violation
exception which
> reappears as fast as we kill it, so have to use task manager to kill D5).
>
> Obviously something seriously adrift with the form or one of the
components in it.
> What he would like is a text version of the DFM so can investigate what
the hell it
> is trying to do, or perhaps isolate the problem by successive deletion of
bits of it.
> Catch - cant turn DFM to text unless displayed; cant display it and have
control
> too. Does anyone know of other ways to get a text version of a DFM from
outside
> the IDE? (or without displaying the form).
>
>
>
> ----------------------------------------------------------
> Phil Scadden, Institute of Geological and Nuclear Sciences
> PO Box 30368, Lower Hutt, New Zealand
> Ph +64 4 5704821, fax +64 4 5704603
> --------------------------------------------------------------------------
-
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to