[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Using TortoiseMerge with Delphi forms (ext .dfm)/solved

From: Bernd Kuhlmann <bernd.kuhlmann1_at_ewetel.net>
Date: 2006-09-20 18:19:17 CEST

Am Mittwoch, 20. September 2006 10:57 schrieb jackrew2000-antispam@yahoo.fr:
> Dear all,
>
> Thanks a lot for your answers.
>
> It seems that in some cases that I could not identified, some dfm files are
> saved in a binary format, EVEN IF the Delphi settings where set to " New
> form as text" (at least for Delphi6 in my case).
>
> The solution is to use the convert.exe programme which is in the bin folder
> of Delphi. (syntax: 'convert.exe Form.dfm' DOS only). In my case I copied
> convert.exe in my working folder to avoid to move the files to bin, and as
> DOS doesn't like 'space' in the path.
>
> Once the file is converted (Form.txt), I just replaced the old file and
> renamed the form.txt to form.dfm.
>
> It seems that from that moment, Delphi keeps the text format, even on
> future changes.
>
At least in Delphi 7 there is an issue with directly opening dfm files:
- open a dfm file (saved in text format) from the explorer with a doubleclick
- press ALT-F12 to switch to the designer
- save
Now the form is saved in the binary format.

Bernd Kuhlmann

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Wed Sep 20 18:20:26 2006

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.