[fpc-devel] Component FTag and Tag should be int64

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Mon Nov 22 17:29:31 CET 2010



On Mon, 22 Nov 2010, Andrew Brunner wrote:

>
>
> On Nov 22, 2010, at 9:13 AM, michael.vancanneyt at wisa.be wrote
>>
>>>
>> The logic is that it is bad programming to use an integer to store a pointer.
>> And we don't want to encourage bad programming.
>>
>> Yes, I know it's easy, and yes I know it's common practice. Neither make it right to do so.
>>
>> We'll fix the issue
>
> I was going to disagree with that statement. But after considering it some what then would be 
> the likelihood of getting TComponent to have a Data property of pointer???

That would be my preferred (and already proposed) solution.

Michael.



More information about the fpc-devel mailing list