I'm trying to add a bitmap to my form at run time.  My code is:

    pForm = FrmGetActiveForm();
    pBitmap = FrmNewBitmap(&pForm, BitmapID, BitmapID, 1, 17);

I get the "..has just read directly from an unallocated chunk of memory"
error.

The error occurs in FrmValidatePtr() when called from FrmHandleEvent().
pBitmap is non-null after calling FrmNewBitmap().  I'm lost as to what I'm
doing wrong.

Ideas?

Thxs!

Steve



-- 
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