Hi...
I am trying to install Indy 10.6.1.5238 version under Lazarus 1.2.6 using Debian 7.5, but its not working...
For install It works as described here:
http://wiki.freepascal.org/Indy_with_LazarusMy problem is that after installing everything seems ok, but I cannot use Indy. A very simple program:
----------------------------------------------------------------------------------------------------------------------------------------------------
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, IdIPWatch;
type
{ TForm1 }
TForm1 = class(TForm)
IdIPWatch1: TIdIPWatch;
procedure FormActivate(Sender: TObject);
private
{ private declarations }
public
{ public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.lfm}
{ TForm1 }
procedure TForm1.FormActivate(Sender: TObject);
begin
ShowMessage(Form1.IdIPWatch1.LocalIP);
end;
end.
----------------------------------------------------------------------------------------------------------------------------------------------------
It's not working. It compiles, the program runs, but it displays nothing. Also when I am writing the program,
if I put a '.' after an object, then Lazarus should display the properties, events, etc of that object... For IdIpWatch1
object it displays nothing, but it compiles...
I have tried to install previous versions of Indy: 10.6.1.5203 and 10.2.0.3... But none of them are working. All
makes the same error...
I dont understand... Can anybody help ?
Thank You in advance!
Zoltán