You should design it as a multi-segment program from the start if you know
it will be big. From your post's subject it sounds like you are using CW.
In my opiniion it was a little less trouble to do it using Code Warrior than
GCC.  It can be done either way, but I found CW took care of some of the
details automatically.

Be aware that just specifying a multi-segment project in CW is just the
beginning. You need to plan how you are going to structure your project
across multiple source and header files in a sensible way.  It is possible
to do this various ways but a common way to to have separate source files
for each form plus a source file for utilities etc.  It depends on the type
of program how you do that.

Also be aware that certain functions are required to be in the first
segment.  The Palm Knowledge Base has articles on that subject.

Hope this helps.

Mitch Fawcett
Tapn'see Software
Home of SuperList2
http://www.tapnsee.com

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Randy
> Brown
> Sent: Saturday, February 17, 2001 8:36 AM
> To: Palm Developer Forum
> Subject: Choosing right type of project?
>
>
> Hello -
>
> I am beginning a project that will ultimately turn into a fairly large
> (100+ K) application on PalmOS.  It will be awhile before
> functionality is
> added that causes it to bloat.  Should I begin the project in
> multiple-code
> format, or can I relatively easily make the necessary changes later to
> break things up?
>
> TIA.
>
> [rb}
>
> http://www.randybrown.net
>
>
> --
> 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/

Reply via email to