On Tue, 14 Oct 2003, Brian Smith wrote:

> I'm trying to write a bit of code that gets launched without globals (by
> intention), and doesn't have any in my code, but it seems to be trying to
> access some anyway.  I've narrowed it down to calls to StrPrintF and
> StrIToH... I take those out, and it runs without crashing... I put them
> back in, and I get a crash.  There's no variables in my code that these
> calls are referencing that aren't being referenced elsewhere, so it's not
> like adding them is adding any references to any additional variables of
> mine.

Found out what it is, and it's not what I first thought it to be.  Seems
that a type cast from double to Int32 is what's causing the problem
(adding about 3k of code and apparently a global or two).  What I don't
know is how to get around it.  Ideas?

-- 
-----------------------------------------------------------------------
Brian Smith // avalon73 at arthurian dot nu // http://www.arthurian.nu/
Software Developer  //  Gamer  //   Webmaster  //  System Administrator
Be incomprehensible. If they can't understand you, they can't disagree
 with you.

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to