Hi,

My question is based on the article at
http://www.palm.com/devzone/docs/SharedLib/sharedlib.html

I have an app that is really big and want to split the
code as "modules". I am using the multple-code-resource
approach described in the above document. I am creating each
code resources in a separate .PRC file ( so that the user
can remove the file if he/she doesn't need that feature).
And they will all be used by the same main-application. 
How should I change the creator/resource ids so that all
these .PRCs can co-exist and easy to access? Is it required
that code resources have the 'PLUG' file type - just like
libraries have 'libr'? or is it complete random - programmers
preference?

There are 4 IDs I am dealing with - "(.prc) File type",
"(.prc) File Creator ID" and then a "Resource ID" and a 
"Resource Type". I would like to keep the same creator id
so that I don't have to worry about conflicts ( and the
trouble of registering all those CIDs!)

If I rephrase the question - Should I keep same creator
id for all .PRCs and vary the file types (PL01, PL02, etc)
or should I change creator-ids and keep the file type 
and resource type as 'PLUG'.

I heard GCC provides GLib libraries which I believe is 
much easier to use. But my app is already 70K and I am 
limited by 32K limit with GCC. Is some one enhancing GCC?
I would really love to move to Linux/GCC if possible.

Reply via email to