[fpc-devel]Method address (Win32)

Peter Vreman peter at freepascal.org
Fri May 23 11:21:20 CEST 2003


> Hello,
>     I wrote small object oriented console, but in graphics. I must
> give address of my window procedure and this is method of an object.
> Is there any way how to get method address?
>     Thanks for help

That is not possible. A method gets hidden parameters. You need to write a
wrapper procedure that will be passed as window procedure











More information about the fpc-devel mailing list