Is the Delphi binary to . txt conversion process very complex?

Asked

Viewed 86 times

0

In a project I intend to create a tool that would automatically make a "translation" of a. dfm file from Delphi to a Winforms C#.

The problem is, DFM editors do not always save files as readable text, and can sometimes save as binary.

I know there is a feature of some editors that does this conversion automatically, but this process is too complex to be replicated in C#?

I would like to try to implement this binary to . txt conversion myself before doing the embed of that . exe in my project or despite giving instructions to the user how to do the conversion externally before passing the . dfm by my tool.

  • What would be complex for you? ...

  • Rephrasing the question then, how exactly Is this conversion?

  • you take a readable . dfm, then open it in an editor that writes in binary and save. Now Voce will have two . dfm, one readable and one binary. Study the binary to see how to return to the readable state, write down the steps performed. When finished, make your tool do the steps you wrote down. Then just test with hundreds of others. dfms in binary to deal with possible exceptions

  • Cara did a search here and saw that there are some forums with this issue. I could not see all due to the proxy company. I suggest researching how it does, try to do and then come up with the doubts here, otherwise the possibility of you staying in limbo is great.

  • I ran a round through the web before coming to the stack, most sites describe how to do the conversion using Convert.exe only

  • A while ago I had a question a bit like that. Maybe it’s less expensive to use the Convert. http://answall.com/questions/10939/como-fa%C3%A7o-to-convert-v%C3%A1rios-arquivos-dfm-que-est%C3%A3o-no-format-bin%C3%A1rio-par

Show 1 more comment
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.