I'm in need to get data (better, a static table) stored in a resource. I saw
I can write an .r file compiling my table as binary, but I thought make
something like that:
1. Write a code resource PalmOS with type data and a number I want.
2. So, writing something like that:
MyTable thetable[2]={
{4,'X',12,0x1222},
{10,'Y',20,0x1223}};
3. And after trying to load (and lock) memory associated in that code
resource (but... really is not code... is an array representation).
4. Use that tables...
AFAIK the only way is to write a binary "somewhat" in an .r and attach it
into a target (I'm using CW6) as described in
http://oasis.palm.com/dev/kb/faq/1104.cfm . but... I want to write "code
data" like point 2 (if not I've to make my own Win32 program to translate my
table in a binary)... Any hint?
Sorry for my "spaghetti" english.
Old Kurt.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/