[fpc-pascal]Apple Mac pointer problem

Olle Raab olle.r at automagika.se
Fri Sep 24 15:57:18 CEST 2004


04-09-24 09.44, skrev Stephen Downs följande:

> 
> Thanks for everyones input (Harold - it a Mac thing !!). I'm away for a couple
> of days now so won't be able to follow up until next week but I guess I need
> to read up on alignment of binary data.
> 
> I assume from what you are saying is that Ptr(testDataHdl^) is the right way
> to do it in FreePascal but I need to check on how the data is read into the
> structure.

If the problem is the alignment, you can try to read element by element.

Olle





More information about the fpc-pascal mailing list