>>When you call DmOpenDatabase, is the returned dbHandle valid or NULL?

It is valid, but it never changes.  This might be because the value is 
stored in memory at the location of the value stored (dbHandle is a pointer, 
and its value points to a place in memory where the data is stored???)

>>What happens if you try to look for a different resource - do you still 
>>get an invalid index?

I havnt tried to find other resources, only CODE 1 resources.

-- 


Scott Erickson
Software Development Team, FB-4, Inc.
[EMAIL PROTECTED]
"Dr. Vesselin Bontchev" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> It could be that the reason for the error is outside the code snippet you 
> posted... When you call DmOpenDatabase, is the returned dbHandle valid or 
> NULL? What happens if you try to look for a different resource - do you 
> still get an invalid index?
>
> Regards,
> Vesselin
> 



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/

Reply via email to