> compiling I get en error message "E2009 Incompatible types: 'method
> pointer and regular procedure'".

Class method is not the same as classic procedure. You cannot assign 
procedure when class method is expected.

So, create your own class what have methods for your  events, and 
assign this method instead of your procedure. See synadbg.pas for 
inspiration.



-- 
Lukas Gebauer.

E-mail: gebau...@mlp.cz
http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib.


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to