[Lazarus] Problems with Namespaced Types

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Dec 19 23:30:25 CET 2011


On Sat, 17 Dec 2011 19:48:09 -0600
Andrew Brunner <andrew.t.brunner at gmail.com> wrote:

> I just realized that codetools can't navigate functions with
> references to pointers
> 
> Adding "SomeMethod" as a procedure worked OK.
> Adding it as a Function - produced an exception in Code Tools.
> 
>   TForm1 = class(TForm)  private    { private declarations }  public
>  { public declarations }    function  SomeMethod(Var
> ItemP:uNameSpace.Storage.Folders.PItem):uNameSpace.Storage.Folders.PItem;
>    procedure MyEvent(var Item:uNameSpace.Storage.Folders.TItem);  end;
> var  Form1: TForm1;
> implementation
> {$R *.lfm}
> procedure TForm1.MyEvent(var Item:uNameSpace.Storage.Folders.TItem);begin
> end;
> function TForm1.SomeMethod(Var
> ItemP:uNameSpace.Storage.Folders.PItem):uNameSpace.Storage.Folders.PItem;begin
> end;

Do you have a more complete example?

Mattias




More information about the Lazarus mailing list