geoff wrote:
hey,
I'm trying to iterate through my database with dmfindresource() to
find all
resources of one type. in the 68k sdk docs it says that
dmInvalidRecIndex is returned when it cannot find any record of that
id and
type(in this case). but when i compile with pods1.1 palm os 5 it says
it is
undeclared. it also isn't listed in datamgr.h. What is returned when this
function cant find the record? is it a typo?
That's a known issue, I believe. Just compare it to -1 instead, and it
should work. Bob.
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/