I started implementing this on LCLIntf, but I am having a lot of
trouble with type declarations. AllocateHWnd needs a parameter of type
TWndProc = procedure (var Message: TLMessage) of object;

But TWndProc is declared on controls, and no basic lcl unit uses
controls, and if i add controls on lclintf or other units, I get
circular references.

Further i tryed to declare another equal type with a different name,
but then I need the LMessages unit, and if I add it, I get more
circular references.... any ideas?

The only way I could make it work is to declare a TLCLWndProc type in
*both* lclintf and interfacebase. Quite ugly ...

thanks,
--
Felipe Monteiro de Carvalho

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to