Hopefully this is something easy. I'm writing a little side app to be used for manually tweaking my apps preferences. I'm trying to set it up so that I can enter a creator and id into a couple of text fields and then use those values to pass to PrefsGetAppPreferences
//like so char *cCreator, *cID; cCreator = FldGetTextPtr( fldCreator ); cID = FldGetTextPtr( fldID ); The problem I have is how to convert these char pointers into a form that's meaningful to PrefsGetAppPreferences. I know that PrefsGetAppPreferences takes a UInt32 and a UInt16 for creator and I respectively and I've trying StrAToI and type casting to an (unsigned long) and while those strategies compile, I am unable to read my preferences. Does anyone know the best way to deal with this? Thanks, Mark -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
