Ok. I finally got past this problem. Whew! I initialized both the pq and tpq pointers to NULL at the declarations and now the MemPtrNew() works great:
PQ *pq = NULL; PQ *tpq = NULL; I don't understand why that would have a bearing on the success of the call to MemPtrNew(), but it did. Is it a bug, maybe? Thanks for all of your help and patience. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
