[Lazarus] Which program type to select for cron usage?

Bo Berglund bo.berglund at gmail.com
Mon Oct 19 13:41:51 CEST 2015


On Mon, 19 Oct 2015 12:28:55 +0200 (CEST), Michael Van Canneyt
<michael at freepascal.org> wrote:

>For anything that has a longer lifetime and is likely to change over the years, 
>you should pick 3.

Thanks, I did so and started coding. :)

Now I ran into a problem which I cannot say belongs to the selection
of type of program or Lazaus itself or somethiong else:

I am building a communications class that will hook into the existing
Delphi sources. 
I write something like this:

TSSController = class
  private
    FComm: TSSConnection; //Defined in Delphi unit
  public
    Constructor Create(ConfigFile: string);
    Destructor  Destroy; override;
end;

destructor TSSController.Destroy;
begin
  FComm. <== cursor right after the period
  inherited Destroy;
end;

Where TSSConnection is declared in one of the Delphi files located in
the same directory as all other sources (the project dir).

When I enter the period after FComm I expected Lazarus to autocomplete
with the valid identifiers, in this case Free, but nothing happens...

My test project where I checked connectivity to the GPIO did not
behave like this, but it was a GUI project. What did I do wrong?


-- 
Bo Berglund
Developer in Sweden





More information about the Lazarus mailing list