> From: S Santoso
>
> There is no error while I compile the program.  However,
> when I am debuging my code, there is address error.  I
> don't have this error if I use CW 5.  The error happens
> when I call this function:
>     Int     trec;
>     trec = DmNumRecords(Dbdb);
> where Dbdb is a database.
>

I hope you mean to say that Dbdb is a DmOpenRef to a currently open
database.
The other thing I noticed about your code is that DmNumRecords returns a
UInt16, not an Int, so you should change the declaration of trec.


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