How odd. For some reason, it is defined in DataMgr.c, not DataMgr.h. In any case, the definition for dmInvalidRecIndex looks like this:
#define dmInvalidRecIndex ((UInt16)(-1)) // 0xFFFF And a quick check of the code shows that DmFindResource() really does return dminvalidRecIndex if the resource isn't found... Sounds like another doc fix. And I need to file a bug. 8-) -Greg Wilson Developer Services PalmSource, Inc. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
