[fpc-pascal] problem with interface (OOP not widget)
jonas.maebe at elis.ugent.be
Wed Mar 12 14:06:43 CET 2008
On 12 Mar 2008, at 11:02, Jonas Maebe wrote:
> On 12 Mar 2008, at 05:41, Bee wrote:
>>> 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.
Actually, this is more or less the same as what JoshyFun suggested
More information about the fpc-pascal