Using Lazarus

From Mok HTPC wiki

Table of contents

Miscellaneous

Converting Delphi project

$mode delphi

Add to each unit, before interface:

{$ifdef fpc}
{$mode delphi}{$h+}
{$endif}

Can not find LCLIntf

Project->Project Inspector->Required Packages->Add->New requirement->Package name->LCL

SIGSEGV exception

...

Things noticed

..when compared to Delphi.

  • Compilation is slow.
  • I tried to create a simple .dll with Lazarus to try with Mok.
    • Exports and such seem to work and the plugin is loaded.
    • The resulting .dll is 5.1Mb compared to 300k from Delphi.
Personal tools