[Lazarus] Callback to method pointer
DrDiettrich1 at aol.com
Thu Apr 28 00:19:07 CEST 2011
Leonardo M. Ramé schrieb:
> 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?.
You can call the method from your procedure.
More information about the Lazarus