Hi!

I've been using code like this:

Int32    amount = 1234;
StrPrintF(string_variable, "%Ld", amount);

without problems. 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. According to the documentation, StrPrintF became
available with the 2.0 feature set, which you can verify by checking that
the rom version is "0x02003000 or greater". I added this check and it still
bombed.

If I take the "L" out of the specification, it doesn't bomb. Is it possible
that although the StrPrintF function was added in 2.0, support for "L"
wasn't added until later?

If this is the case, the doc for StrPrintF needs to say something about it.

Tom


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to