[Lazarus] Forward declaration not solved

Antonio Fortuny a.fortuny at sitasoftware.lu
Fri Aug 9 15:08:59 CEST 2013


Le 09/08/2013 15:02, Michael Van Canneyt a écrit :
>
>
> On Fri, 9 Aug 2013, Antonio Fortuny wrote:
>
>>
>> Le 09/08/2013 13:39, Michael Van Canneyt a écrit :
>>>
>>>
>>> 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.
>> For a developer as me, this is probably the best solution indeed. I 
>> do manipulate lots of handles in my applications and do not really 
>> want to take care of which basic type they are. I'd be more than 
>> happy to re-engineer my applications diversifying handle types which 
>> means to get rid of all this ambiguity when addressing OS objects. My 
>> problem then would be to use the right handle type where needed
>
> That is exactly why I am a proponent of this mechanism.
Just tell me how to push forward with you 8-)

Antonio.
>
> Michael.
>
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-- 
Sita Software
*Antonio Fortuny*
Senior Software engineer

220, avenue de la Liberté
L-4602 Niederkorn
Tel.: +352 58 00 93 - 93
www.sitasoftware.lu <http://www.sitasoftware.lu>
Your IT Partner

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130809/c2d2378b/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ahbcjfcj.jpg
Type: image/jpeg
Size: 2306 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130809/c2d2378b/attachment-0006.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fiaafcib.jpg
Type: image/jpeg
Size: 921 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130809/c2d2378b/attachment-0007.jpg>


More information about the Lazarus mailing list