Re: [MSEide-MSEgui-talk] Conversion between ordinals and pointers is not portable ?

2021-06-18 Thread Sieghard
Hallo fredvs, Du schriebst am Wed, 16 Jun 2021 14:33:02 -0700 (MST): > For example, that code produce the warning pointing to ptruint: > > Conversion between ordinals and pointers is not portable. > > procedure tpointeransistringhashdatalist.add(const keys: array of > string; startindex:

Re: [MSEide-MSEgui-talk] Conversion between ordinals and pointers is not portable ?

2021-06-16 Thread fredvs
Re-re hello. I did find this (from a Martin too): this It seams that using "ptruint" generate always or a hint or a warning (see the difference in the discussion of the link).

Re: [MSEide-MSEgui-talk] Conversion between ordinals and pointers is not portable ?

2021-06-16 Thread fredvs
Re-hello. Sorry, I dont catch it; ;( For example, that code produce the warning pointing to ptruint: > Conversion between ordinals and pointers is not portable. procedure tpointeransistringhashdatalist.add(const keys: array of string; startindex: pointer =

Re: [MSEide-MSEgui-talk] Conversion between ordinals and pointers is not portable ?

2021-06-16 Thread fredvs
> I did research about this in Lazarus forum and their solution for the > "ptruint" hint is to use this: > > {$push} > {$hints off}{$warnings off} >... // code using ptruint > {$pop} > > ;-) ! > Oooopss... > VERY dangerous - seems they don't really use this internally. Huh,

Re: [MSEide-MSEgui-talk] Conversion between ordinals and pointers is not portable ?

2021-06-16 Thread Sieghard
Hallo mohamed, Du schriebst am Wed, 16 Jun 2021 09:20:09 +: > Hi all > We can use tagpo propertie to store 64b pointer also. yes, that's an (one of several) advantage of mseide/msegui compared to e.g. Lazarus - and I guess, a big one at that, regarding such "professional supportive

Re: [MSEide-MSEgui-talk] Conversion between ordinals and pointers is not portable ?

2021-06-16 Thread mohamed hamza
Hi all We can use tagpo propertie to store 64b pointer also. Med De : Sieghard Envoyé : mercredi 16 juin 2021 00:56 À : mseide-msegui-talk@lists.sourceforge.net Objet : Re: [MSEide-MSEgui-talk] Conversion between ordinals and pointers is not portable

Re: [MSEide-MSEgui-talk] Conversion between ordinals and pointers is not portable ?

2021-06-16 Thread Sieghard
Hallo fredvs, Du schriebst am Sat, 12 Jun 2021 13:57:08 -0700 (MST): > Thanks, very clear. Thank you. > I did research about this in Lazarus forum and their solution for the > "ptruint" hint is to use this: > > {$push} > {$hints off}{$warnings off} >... // code using ptruint >

Re: [MSEide-MSEgui-talk] Conversion between ordinals and pointers is not portable ?

2021-06-12 Thread fredvs
Hello Sieghard. Thanks, very clear. I did research about this in Lazarus forum and their solution for the "ptruint" hint is to use this: {$push} {$hints off}{$warnings off} ... // code using ptruint {$pop} ;-) ! Fre;D -- Sent from:

Re: [MSEide-MSEgui-talk] Conversion between ordinals and pointers is not portable ?

2021-06-12 Thread Sieghard
Hallo fredvs, Du schriebst am Fri, 11 Jun 2021 14:34:36 -0700 (MST): > When compiling msegui applications, there are lot of hints of this > kind: > > > mseclasses.pas(3714,12) Hint: (4055) Conversion between ordinals and > > pointers is not portable > > Line 3714 of mseclasses.pas (column 12

[MSEide-MSEgui-talk] Conversion between ordinals and pointers is not portable ?

2021-06-11 Thread fredvs
Hello. When compiling msegui applications, there are lot of hints of this kind: > mseclasses.pas(3714,12) Hint: (4055) Conversion between ordinals and > pointers is not portable Line 3714 of mseclasses.pas (column 12 is "ptruint") is: > if odd(ptruint(source)) then begin What does it mean and