Hello all

Hello all,

Does anyone know an DFM parser that would be up to date (Compiles and works with UniCode Delphi-versions) and would have read and write support.

Basically we are porting an old app to new code base and some cases we could do mass conversions quite easily with DFM parser.

That would help with the manipulation. I could do with the Simple code that just does that with string manipulations, but would be safer with the parser, and could do whole lot more.

Checked couple, one did not support writing back, converted dfm to binary and then used TReader as helper, (Which could be OK), and Felix Colibri had one, but it is done in a way that it uses too much PAnsiChar stuff and so, that I think porting it would be pain in the **se (Not sure tough).

Did not check the Lazarus-project, tough. LFM, seems to be basically same as DFM. 

Also this could be used to do automatic checks on Internal naming rules and so.

If there is not one that is very good, I would suggest an Community project of it. (Also we would need Delphi CodeParser, but that is different Story. Castalia has published they're but I think it has not changed in ages, anyone have Fork that is up to speed?)

Comments

  1. Uwe Raabe I believe that DFMCheck opens each form within the IDE - it doesn't do any parsing

    ReplyDelete
  2. And also DFMCheck does not provide any kind of Source, in any case.

    ReplyDelete
  3. Tommi Prami‏ sorry for the delay see hangout

    ReplyDelete

Post a Comment