You can open the DFM file directly from the file open dialog box, hence no
form is shown.

Just go File-Open, in the filename field, enter *.dfm, and select your DFM,
that simple.

Chris


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Phil Scadden
Sent: Tuesday, 8 February 2000 09:08
To: Multiple recipients of list DELphi
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