I STILL can't get these memory leaks to go away. For some reason, the only way I can seem to save to the database is with a pointer to a pointer.
error=DmWrite(p, offset,&newData, sizeof(char*)); where newData is a char*. So I am only storing pointers, which are invalid once the program ends if I free them, and create memory leaks when I don't free them. But for some reason, I can't seem to store to the database the actual strings. When I try error=DmWrite(p, offset,newData, StrLen(newData)); None of the answers are actually stored in the database when I check later... any ideas? thank you! -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
