By the way, a nice new feature of Constructor 1.6 is that it allows you to
get resources directly from a PRC.
Therefore, you can build your app using GCC/PilRC, then open the PRC with
Constructor, then it can be as simple as copy/paste from the PRC to an empty
.rsrc file (or even "Save As...").
Of course, after that, you will have to name each item, since Constructor
can't guess the names.
Another concern in GCC to CW port is that CW enforces some numbering rules
(typically, "objects in a form must have an ID greater than that of the
form"). If you don't respect them, you will get into trouble because it
won't let you do what you want.
It would be nice if some Constructor options allowed the rules enforcement
to be turned off!
-- Denis Faivre - [EMAIL PROTECTED]
-- Ablivio - http://www.ablivio.com
----- Original Message -----
From: "Aaron Ardiri" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Monday, May 28, 2001 2:15 AM
Subject: Re: Problem porting from CW to GCC
> > > hmm.. CW -> gcc is a piece of cake in comparison to the other way
> > > around :) gcc -> CW is a nightmare, as you need to recreate all the
> > > resources in constructor and get the resource #defines correct :)
> >
> > gcc -> CW porting is fairly easy when using the PilRC plugin, as you
> > should know, Aaron.
>
> of course, however, i have found it easier to actually use pilrc
> to generate the resource files, use prc2pilrc to get the (x,y)
> offsets for each object in the forms.. and then enter it into
> constructor and generate the header file for the resources.
>
> constructor has a special way of doing its #defines - so i use
> that as the basis for the .rcp constants and the development is
> seamless, share the .c files between codewarrior and prc-tools
> builds.. its quite nice once it all works :P
>
> PilRC plugin works wonders too - however, when writing sample
> apps, its not nice to say "screw constructor, use pilrc plugin" :)
>
> // az
> [EMAIL PROTECTED]
> http://www.ardiri.com/ <--- free games!
>
>
> --
> 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/