[Lazarus] Forward declaration not solved

Michael Van Canneyt michael at freepascal.org
Fri Aug 9 13:39:03 CEST 2013



On Fri, 9 Aug 2013, Mattias Gaertner wrote:

>
>> Michael Van Canneyt <michael at freepascal.org> hat am 9. August 2013 um 12:19
>> geschrieben:
>> [...]
>>> OK, I think I can live with this. But I think it would be preferable to use
>>> a
>>> distinct type name.
>>
>> I have been proponent of this idea since many years :-)
>
> What type do you want to rename?

THandle. I suspect you have it in lcltypes or so.

IMHO there should be TFileHandle, TWindowHandle etc. 
Probably on windows they will all end up referencing windows.THandle, but on other platforms they may be wildly different.

That's one of the reasons dynlibs introduced TLibHandle.


Michael.




More information about the Lazarus mailing list