At 11:38 AM -0700 2001/09/14, Praveen Potineni wrote:
>Hi,
>I got an error from this code. I try to use DmQueryRecord and i got this
>error:
>"xxx.c just read from loaction 0x00000006 which is in low memory".
>
> SiteDB=DmOpenDatabaseByTypeCreator(SiteDeptDBType, creator,
>dmModeReadWrite);
> recordH = DmQueryRecord(SiteDB, 0);
What if DmOpenDatabaseByTypeCreator fails? You don't check for that condition prior to
DmQueryRecord.
Regards,
Jim Schram
Palm Incorporated
Partner Engineering
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/