[fpc-pascal] problem with interface (OOP not widget)
Jonas Maebe
jonas.maebe at elis.ugent.be
Wed Mar 12 11:02:46 CET 2008
On 12 Mar 2008, at 05:41, Bee wrote:
> http://bugs.freepascal.org/view.php?id=10684
>
>> Hints? TIA.
>
> I'm currently using a not too elegant workaround to solve this
> problem. With some IFDEFs because the workaround is for FPC only.
There is no support for passing nil as a constant to a "procedure of
object" parameter of a cdecl procedure at this time. You can work
around it by using two overloads (one with a tnotify parameter, one
without). That should work both in FPC and in Delphi.
Jonas
More information about the fpc-pascal
mailing list