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