"Matt Mason" <[EMAIL PROTECTED]> wrote in message
news:36052@palm-dev-forum...
>
> dmErrResourceNotFound is the error which is returned. I have tried it
using
> POSER with my device ROM and again it works great. But in situ (the
> device), it fails.
Which device are your using?
>From looking at both the 2.0 and 3.5 sources, I can't see any execution
paths which would cause the dmLastErr value to be set to
dmErrResourceNotFound. On 3.5, DmOpenDatabase invokes DmOpenDbNoOverlay
first, and that always sets the lastErr value. 3.0 has all that code in
DmOpenDatabase, but again, the return always gets set. With a 0 dbID, you
should be getting the dmErrInvalidParam error.
Very very odd.
--
Ben Combee
Veriprise Wireless <http://www.veriprise.com>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/