[Lazarus] Callback to method pointer
Leonardo M. Ramé
l.rame at griensu.com
Wed Apr 27 15:26:23 CEST 2011
Hi, I'm using a shared library that allows me to pass a pointer to a
function to act as a callback.
To execute my function I use something like this:
myDllFunction(param1, param2,..., paramn, @myCallback);
myCallback is a regular procedure.
What if I want to use a "procedure of object" (method) instead of a
regular procedure?. Is this possible at all?.
--
Leonardo M. Ramé
http://leonardorame.blogspot.com
More information about the Lazarus
mailing list