Can I store binary data in a string resource? I know I can enter the string
in hex in Constructor, but I'm having trouble extracting it. For example,
if in hex-mode I enter 0102030405060708 for my string resource, and then:
CharPtr pData = MemHandleLock( DmGetResource(strRsc, MyResourceString) );
and look in pData[0], it isn't 1 (which is what I was expecting)
The docs say "String resources may be entered as text strings or as a series
of hexadecimal characters." The docs also say, "The string resource uses
either the string or data. If both are entered, they are concatenated." I
haven't a clue what "data" they are talking about (unless they are talking
about the hex), and I don't know what they are concatinating.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/