Thanks Bill.

  Although I have tried that (or at least I think I have, I will try it again). 
 I had the structure look like this

typedef struct
{
   char catalogno[APP_MAX_ROW][32];
   int number[APP_MAX_ROW];
   int aid[APP_MAX_ROW];
   char title[APP_MAX_ROW][152];
} rQueryType;

  Originally I had AAP_MAX_ROW with a value of 100, but I reduced that one to 
50 (and I am pretty sure I used 64 when I tested the changes, but maybe not).

  One thing though, and this is where my mistake might be, but I am not sure I 
understand the Memory Manager all that well.  I am defining the global variable 
as:

  rQueryType   rquery;

  As opposed to having something like:

  rQueryType*  rqueryPtr

  MemHandle h;
  h = MemHandleNew(SizeOf(rQueryType));
  rqueryPtr = MemHandleLock(h);
  // ... do whatever
  MemHandleUnlock(h);

Reading up a little bit it says that using a Memory Handl helps resolve issues 
with word alignment, although I am not sure this would be the case for 
strcutures as well.

Carlos
-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to