I think it's very low level, i.e., anything that would result in a write to any of the 
memory locations in the screen buffer would
set it off.  But instruction interactions are so complex, who knows?

jacky Cheung wrote:

> Yes, it is documentated in FrmDrawForm (I just read it). But what do you
> mean by draw? Does it include using FrmHideObject and FrmShowObject etc.?
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of DIAMOND
> JEFF
> Sent: Friday, March 16, 2001 5:17 AM
> To: Palm Developer Forum
> Subject: Re: Code fails with OS3.5 debug ROM only??
>
> Congratulations!
> :)
>
> It drove me nuts, too, before I solved it.
>
> But amazingly, it is documented - but it's one of those explanations that
> you only tend to find when you read the docs cover to
> cover, (and only retain in your mind once you got burned by it), since the
> bus error by itself wouldn't suggest which OS call was
> "involved".  :)
>
> If I remember, I think they put the notice about this under the docs for
> FrmDrawForm, or maybe some of the OS functions that call
> FrmDrawForm.
>
> Ng Wei Gee wrote:
>
> > Hi,
> >
> > > On possible problem that comes to mind is that in the OS 3.5 debug ROM,
> > you will get a bus error if you attempt to draw to the
> > > screen when a form first loads, but before your active form calls
> > FrmDrawForm().
> >
> > This behaviour is not documented right?
> >
> > > So my first question would be if you are trying to draw before the form
> is
> > formally drawn with FrmDrawForm(), which generally occurs
> > > after handling your frmOpenEvent?
> >
> > YES!!! THAT IS THE PROBLEM!!! (Sorry, can't contain my excitement! This
> bug
> > was driving me nuts!)
> >
> > Regards,
> > Gee.
> >
> > --
> > For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/tech/support/forums/
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/tech/support/forums/
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe, please see 
>http://www.palmos.com/dev/tech/support/forums/


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

Reply via email to