This is the oddest thing I ever seen.

I use the Treo 600 simulator and am running a somewhat elaborate function
which works perfectly in every possible hardware, emulator, and simulator
known to mankind [well, I didn't test all] except on the Treo 600 simulator
just before I do an FrmDrawForm() job, it gives the message

I:\Ripple\ARM\Core\Emul68K\SrcSlowEmu\Run68K.c
Line:2299, Null access read from 00000000

BUT, here comes the juicy part. If I add the code

{
RectangleType rT;
RctSetRectangle (&rT,0,0,0,0);RctSetRectangle (&rT,0,0,0,0);
RctSetRectangle (&rT,0,0,0,0);RctSetRectangle (&rT,0,0,0,0);
}

just before FrmDrawForm() then it works OK. If I add one less
RctSetRectangle() job, then the crash comes.

Can any of you shed light to it please? I am very curious to see what you can
come up with.

Thanks, PaulN [pedit etc.]

P.S. How did I find out that the RctSetRectangle() job does a fix?  By pure
accident. As a matter of fact, it seems that I could do other fixes too as
long as enough "junk" is added right before FrmDrawForm().

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

Reply via email to