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/