> InfoFormHandleEvent(EventPtr eventP)
> {
> ...
>    switch (eventP->eType) {
>       case penDownEvent:
>          FrmDeleteForm(FrmGetFormPtr(SongInfoForm));
>          handled = true;
>          break;
>       default:
>          break;
>    }
> }
> 
> I get the error "read directly from an unallocated chunk of memory".
> What did I do wrong?
> I think that FrmInitForm() goes with FrmDeleteForm(). So  I call it when
> there is a penDownEvent. Is this right? Why do I get this error message?

  of course you do! :)

  who about FrmReturnToForm(0)? :)

  you cannot just kill a form like that - send an event to navigate
  around them :))

  cheers.

az. 
--
Aaron Ardiri 
Java Certified Programmer      http://www.hig.se/~ardiri/
University-College i G�vle     mailto:[EMAIL PROTECTED]
SE 801 76 G�vle SWEDEN       
Tel: +46 26 64 87 38           Fax: +46 26 64 87 88
Mob: +46 70 656 1143           A/H: +46 8 668 78 72

if you enjoy it, then it aint work :) - rule #106 of life


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

Reply via email to