> 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, I forgot to to say that it was research in Lazarus-forum, not in
Lazarus code.

> and I'd plea to keep it.

Yes, sure.

> 32 bits of a DWord simply aren't sufficient to store the 64 bits of a
> pointer on a 64 bit system.

Hum, not sure to get all here.

In msetypes.pas, do you propose to change this:

          PtrUInt = DWord;

with this that ?:

        {$ifdef cpu64}
        PtrUInt = QWord;
       {$else}
        PtrUInt = DWord;
       {$endif}

?







--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


_______________________________________________
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to