What is the difference between const data or adding strings to a resource as
far as performance is concerned?
Example:

I wanted a listbox of valid states for our users to select from, but I can
not find an easy way of creating the strings without having to type them out
into some type of resource (We have strings like this in text files from
other systems.).  So the lazy way was to cut & paste into.....

const Char*
states[52] = {"Alabama","Alaska","Arizona","Arkansas", "California",...};
pStatesListBox->LoadList(states,NUMBEROF(states));

Is there a way to cut & paste into a resource?  Will we pay any memory
penalties or violate some standard doing it this way?

Thanks for your help!
--
George Aslanis
[EMAIL PROTECTED]



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

Reply via email to