Of the top of my head, I think this will work... //Setting
// Memory must be dynamic heap, not stack. // Assuming this is actually a array of pointers to strings, // You'll want to set the owner to 0 for all the sub allocations // as well. Char** memPP = MemPtrNew(numItems * sizeof(Char*)); // So system doesn't delete it if your app exits (assuming you keep it // around between instantiations (probably not a great idea since ftr // memory disappears on reset, but there are reasons to do this... MemSetOwner(memPP, 0); FtrSet(myFtrCrtr, myFtrNum, (UInt32)memPP); //... //Getting Char** myFtrMem = NULL; FtrGet(myFtrCrtr, myFtrNum, (UInt32*)&myFtrMem); Hope this helps, Kevin -----Original Message----- From: Shawn [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 26, 2002 1:42 AM To: Palm Developer Forum Subject: storing Char** in Feature Memory and getting from it. How to store a Char** in the feature memory and retrieve the same location.?. __________________________________________________ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
