<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I am having difficulty unpacking records from my palm database. some attempts it > just fails quietly, other attempts it crashes, complaining about reading from > low memory (addresses below 256). I do not see what I am doing different than in > the example(s) in the Palm OS Bible and the N Rhodes books and my other program > that has a similar structure (only it works fine).
[SNIP] I'm not sure why you declare your packed structure the way you do. It really doesn't contain a code, desc, etc. It contains three strings. No point declaring the contents of it anywhere. In fact just do this ... MemPtr pacFacRecord; ... and continue to use it as you have. Also ... > Char *s = pcode->code; // s works ... Should be ... Char *s = (Char *) pcode; Try it from there. Alan -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
