> theSize = MemPtrSize( bmpP );
                        ^^^^

> theRecHandle = DmNewHandle( drawDB, theSize) ;
> if (!theRecHandle)
>    return;
> // Copying the data into the new record
> theRecPtr = MemHandleLock( theRecHandle );
> DmWrite( theRecPtr, 0, gBitmapPtr, theSize );
                         ^^^^^^^^^^

Are you sure that both underlined variables
deal with the same pice of memort?

With kind regards / Mit freundlichem Gruß
    Holger Klawitter
--
Holger Klawitter
[EMAIL PROTECTED]                             http://www.klawitter.de



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