> > Int32 amount = 1234; > > StrPrintF(string_variable, "%Ld", amount); > > Today I went to check my app. out under older ROMs in > > the emulator, and found that the above call to StrPrintF was > > causing a crash with the 2.0 ROMs. > > From "Fitzpatrick, Joe" : > > FWIW I've used "%ld" under 2.0. > > I just checked under Poser, and "%ld" works but "%Ld" does not work on OS > 2.0. It doesn't understand %L so it just prints "Ld" to the string. I'm > not sure why that caused a crash on yours. I changed the %Ld to %ld and that seems to have fixed that problem. However, I'm still getting: "StringMgr.c Line xxxx: Unsupported" when I do: StrPrintF(temp_string, "%02d/%02d", tdate.day, tdate.month); or StrPrintF(temp_string, "%2d/%2d", tdate.day, tdate.month); If I change it to: StrPrintF(temp_string, "%d/%d", tdate.day, tdate.month); it works fine. Was handling of the length qualifiers added after 2.0? TIA... Tom -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palm.com/devzone/mailinglists.html
