Hi
I don't know if I am blind and don't see something, but following line
FileReader *reader= (FileReader *)MemPtrNew( sizeof(FileReader ) ) ;
produced the value 0x3AA52 on the emulator. As I am checking the result on
4-byte alignment (before passing to ARM), I could catch the bug.
Palm OS Companion says: "Note that MemPtrNew returns chunks beginning on
4-byte boundaries..."
I got this problem on the emulator only so it might be just an emulator bug.
If so, then I have to change the bug detection policy.
Can somebody explain where is the problem?
Thank you in advance.
Jan Slodicka
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/