Johl J Kennedy wrote:
> 
>       DmOpenRef dbRef;
>       UInt mode;
>       mode = dmModeReadWrite;
> 
>       dbRef=DmOpenDatabaseByTypeCreator(DBTYPE, CREATORID, mode);

This function might return 0.


>       UInt16 at= dmMaxRecordIndex;
>       MemHandle h = DmNewRecord(dbRef,&at,sizeof(MyRecord));

This one too.

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