I'm brand new to Lazarus/FPC, and am trying to port a Delphi 2007 app to Lazarus/FPC. It has a Firebird database and the DB, Lazarus, and the project app are in Windows 8.1. I have been programming with Delphi since D1, but I have discovered that Lazarus is NOT a clone of Delphi, so I'm asking newbie questions.
The following data access controls are on a DataModule.
IBConnection1: TIBConnection;
rsClients: TSQLQuery;
dsClients: TDataSource;
SQLTransaction1: TSQLTransaction;
After adding the "create" code in the .LPR , I get this message, and have not been able to fix it:
Project ABS_Customers raised exception class 'EStreamError' with message:
Failed to initialize component class "TDM": No streaming method available.
My Code
program Customer_Tracking;
{$mode objfpc}{$H+}
uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Interfaces, // this includes the LCL widgetset
Forms, datetimectrls, DataModule1, frmmainU;
{$R *.res}
begin
RequireDerivedFormResource:=True;
Application.Scaled:=True;
Application.Initialize;
Application.CreateForm(TDM, DM);
Application.CreateForm(TfrmMain, frmMain);
Application.Run;
end.