Using Lazarus
From Mok HTPC wiki
| Table of contents |
[edit]
Miscellaneous
[edit]
Converting Delphi project
[edit]
$mode delphi
Add to each unit, before interface:
{$ifdef fpc}
{$mode delphi}{$h+}
{$endif}
[edit]
Can not find LCLIntf
Project->Project Inspector->Required Packages->Add->New requirement->Package name->LCL
[edit]
SIGSEGV exception
...
[edit]
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.
