[Lazarus] Delphi to Lazarus converter

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Nov 6 23:29:15 CET 2009


On Fri, 6 Nov 2009 21:17:10 +0000
Howard Page-Clark <hdpc at talktalk.net> wrote:

> Hi,
> 
> I had a go at converting some of Gary Darby's code from the
> DelphiForFun website, since he seems to have run into trouble doing
> so.
> 
> Converting several projects manually worked OK, and they compile under
> Lazarus fine with the odd tweak to replace Windows-specific code in
> his more advanced projects.
> 
> However, trying to use  "Tools -> Convert Delphi project to Lazarus
> project"  fails every time with the debugln message:
> 
> "ConvertDelphiToLazarusProject failed reading Delphi configs"
> 
> This is because there are no .cfg or .dof files for any of Gary's
> Delphi projects that I have looked at.
> 
> Surely it was intended that non-existent Delphi config files should
> not abort the conversion process? Is this a bug or IMHO an unwelcome
> feature?

It was an uninitialized function result, fixed today.
Can you test with lazarus from svn and see if this bug is fixed?

Mattias




More information about the Lazarus mailing list