Hi,

When i come to this line in the code:
  recordH = DmQueryRecord(SiteDB, 0);
in the Debugger variables window i see "Register not available"
This is the piece of code:

  SiteDB=DmOpenDatabaseByTypeCreator(SiteDeptDBType, creator,
dmModeReadWrite);
//Assign global variables SiteID, DeptID here
  recordH = DmQueryRecord(SiteDB, 0);
  recordP =(SiteDeptRecordTypePtr)MemHandleLock(recordH);
  SiteID = recordP->siteID;
  DeptID = recordP->deptID;
  MemHandleUnlock(recordH);

I don't know what that means and how to tackle that problem..
Any help on this...

Thanks
Praveen
Any ideas/help on this...

Thanks
Praveen

> "Tom Hoelscher" <[EMAIL PROTECTED]> wrote in message
> news:62390@palm-dev-forum...
> >
> > What are you doing right before the first error?
> >
> > If you are reading from (or moving data from) some kind of handle, it's
> > possible you are stepping outside the handle...
> >
> > You may also be manipulating a handle/var that you haven't allocated yet
> (or
> > have deallocated).




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