>From the PalmOS Programmers Companion Vol 1 (PalmOS SDK 4.0) -
==
To initialize the AppInfoType structure, you call
CategoryInitialize, passing a string list resource containing
category names. This function creates as many category indexes and
unique IDs as are necessary. You only need to make this call when
the database is first created or when you newly assign the
application info block to the database.
The string list resource is an appInfoStringsRsc ('tAIS')
resource. It contains predefined categories that new users see when
they start the application for the first time. Note that the call to
CategoryInitialize is the only place where you use an
appInfoStringsRsc. Follow these guidelines when creating the
resource:
==
I do feel your frustration as this wasn't explicitly mentioned in the
earlier versions of the docs but, hey, warnings are your friend :-)
--vivek
> ----------
> From: Terry Dennis
> Reply To: Palm Developer Forum
> Sent: Tuesday, May 15, 2001 4:46 PM
> To: Palm Developer Forum
> Subject: tAIS vs tSTL
>
> I just converted to SDK4.0.
>
> Now, when I link my application, I get the following message:
>
> PalmRez Warning: Less than 16 categories in list: 'SAIt ID=7200' (for
> miscellaneous strings use tSTL resource instead.)
>
> Where does the doc say I can't (or, I shouldn't) use tAIS resources for
> anything but category related strings?
>
> I chose the tAIS because it doesn't have that stupid "index" string in the
> front of it like the sSTL does. I now have 72 lists. I can either
> convert
> them all, or turn off the "Show Warnings" box on the PalmRez panel in the
> Settings dialog. Neither of those are desirable actions.
>
> Any comments?
>
> Thanks
>
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/tech/support/forums/
>
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/