To allocate more than 64k of heap memory, why not just ask for a
very large bitmap, and let the system allocate the memory for you?

    myBitmapPtr = BmpCreate ( /* big enough dimensions */  );
    if (myBitmapPtr) {
        memPtr      = BmpGetBits(myBitmapPtr);
        // etc.

This seems to work under both OS 4.1 and 5.  The system will never
know that you're using bitmap memory for stuff that'll never be
displayed.

Ron Nicholson
HotPaw
   <http://www.hotpaw.com/rhn/hotpaw>

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

Reply via email to