Thanks Juhu,
Changing my code now :)

Richard


On 1 May 2014 15:23, Juha Manninen <[email protected]> wrote:

> On Thursday, May 1, 2014, Richard Mace <[email protected]> wrote:
>
>> Hi,
>> I am getting the following error: Illegal type conversion: "TObject" to
>> "LongInt" on the following code:
>>
>>
>> TFSGatewayType(Integer(cbo11TrunkType.Items.Objects[cbo11TrunkType.ItemIndex]))
>>
>
> Typecast to Integer should be PtrInt. It works also on a 64-bit system.
>
> Juha
>
>
> --
> _______________________________________________
> Lazarus mailing list
> [email protected]
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
>
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to