Gary wrote:
Oh, one more thing: I tried doing it with "SysStringByIndex", but
gave-up trying to figure-out where I get a "DmOpenRef" for the
(apparently changed?) arglist:

Old: SysStringByIndex (1300, 0, iStringListID, sizeof(sTargetString));

New: SysStringByIndex (DmOpenRef, DmResourceID, uint16_t, char *, uint16_t)

Since I'd actually prefer SysStringByIndex, perhaps I should be
asking  where I get this "DmOpenRef" since I already have the DmResourceID?

Are you developing a Protein app? If so, that DmOpenRef should be the ref to your open resource database. I think this is retrieved w/ SysGetModuleDatabase(). If you started w/ the Simple app when creating your project, it's set in PilotMain() as gAppDB and you can use that where ever you need it.


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

Reply via email to