Recent

Author Topic: Delphi Conversion Failure  (Read 1775 times)

iaacov

  • Newbie
  • Posts: 1
Delphi Conversion Failure
« on: February 22, 2018, 01:00:08 pm »
Hi,

I cannot convert the simplest (and practically empty) form from Delphi to Lazarus.

Following is my Delphi code:
Quote
unit Unit1;
interface
uses
   Forms;
type
  TForm1 = class(TForm)
  private
    { Private declarations }
  public
    { Public declarations }
  end;
var
  Form1: TForm1;
implementation
{$R *.DFM}
end.

Running the conversion tool results in:
Quote
Fatal: Conversion Aborted.

Any idea what's going on?

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4459
  • I like bugs.
Re: Delphi Conversion Failure
« Reply #1 on: February 22, 2018, 01:24:07 pm »
You forgot to mention the Lazarus version.
There were bugs when converting single units. They are fixed in trunk and fixes_1_8 branch. Converting a project may work better.
Please attach the unit and form files. I can test it.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

 

TinyPortal © 2005-2018