Re: [fpc-pascal] Array [THandle] of pointer

2008-12-23 Thread Andrew Brunner
Hehehehe I know. I didn't realize that the map was that large. It's for Indexing memory objects to threads. I did something similar under Delphi but now recall limiting the size from [-1..9] or something like that. But that's in a 32 bit OS. Doing it that way isn't going to work. I've

Re: [fpc-pascal] Array [THandle] of pointer

2008-12-23 Thread Jonas Maebe
On 24 Dec 2008, at 00:02, Andrew Brunner wrote: Following Setup: Ubuntu 8.10 x64 FPC 2.2.3 (latest and greatest) Lazarus (Latest and greatest) I'm seeing an anomaly with reading/writing to an Array[THandle] of Pointers. TMyStruct=record Index:integer; end; PMyStruct=^TMyStruct; TMyList

Re: [fpc-pascal] Array [THandle] of pointer

2008-12-23 Thread Marc Weustink
Andrew Brunner wrote: Following Setup: Ubuntu 8.10 x64 FPC 2.2.3 (latest and greatest) Lazarus (Latest and greatest) I'm seeing an anomaly with reading/writing to an Array[THandle] of Pointers. TMyStruct=record Index:integer; end; PMyStruct=^TMyStruct; TMyList = Array[THandle] of PMyStr

[fpc-pascal] Array [THandle] of pointer

2008-12-23 Thread Andrew Brunner
Following Setup: Ubuntu 8.10 x64 FPC 2.2.3 (latest and greatest) Lazarus (Latest and greatest) I'm seeing an anomaly with reading/writing to an Array[THandle] of Pointers. TMyStruct=record Index:integer; end; PMyStruct=^TMyStruct; TMyList = Array[THandle] of PMyStruct; If I declare a lo