Hi all.

I'm trying to add a splash screen to my program by adding a bitmap to a form
through the available utilities in Pilrc.  This should be an easy task, and
it was.  The problem comes when I'm loading the form.

When I call FrmDoDialog(form), the program crashes.  Although it does
compile fine, and I used the same method as I did previously for a different
form, I just don't get why its crashing...

Heres some source for thought.... Thanks!

void FrmGotoForm(int iFrmToOpen)
{
        // Create form
        FormPtr frm = FrmInitForm(iFrmToOpen);

        //contains bitmap on a form object..
        FrmSetEventHandler(frm, FrmSplash_HandleEvent); 

        
        FrmDoDialog(frm);         ////////crashes here  :(
        
        // Clean up
        FrmDeleteForm(frm);


}

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

Reply via email to