When you use FtrGet, Err FtrGet (UInt32 creator, UInt16 featureNum, UInt32 *valueP)
does it expect you to allocate memory for the returned value (what valueP points to) before calling it, or is that memory that the OS owns and it expects you to copy *valueP to some memory you own? I.e, which code is correct: A) UInt32 foo; SomeDataType value; UInt32 size = sizeof(SomeDataType); err = FtrGet( appFileCreator, ftrNum, (UInt32 *) &foo ); if ( !err ) MemMove( (void *) &value, (void *)foo, size ); B) SomeDataType value; err = FtrGet( appFileCreator, ftrNum, (UInt32 *) &value ); __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/