This is more a question of curiosity than a plea for help:) Why exactly is the resource ID capped at 9999?
The reason I ask is that I've been attempting to use a hash function to correlate the string name for a bitmap (IE: Somefile.bmp ) with a resource ID. The function I was using could automatically create a resource file (PiLRC) that mapped the bitmap name to a particular ID. When I wanted ot manipulate a bitmap on the device.. I would use the same hash algorithm and get the ID based on the string. This somehow seemed nice and super-convienent. One problem.. Coming up with a hash algorithm that can work in ~13 bits and still keep the keys mostly unique is going to be really hard.. It just seems strange that "all of the good ID's are taken" by the OS:) Nick __________________________________________________ Do You Yahoo!? Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
