Are you using the SDK from the CW for Palm R5 CD? Or are you using the one
downloaded from Palm's website? I gave it a check here but was not able to
find what you are seeing. The Starter project on my installation has only
one .rsrc file in the Src folder. (This is on a Mac, BTW). For the second
issue, Constructor's generation of the header file is correct. There is a
slight bug in the Starter.rsrc project where the header file to be generated
was not named. Under such circumstances, Constructor will automatically
generate a header called Starter_res.h. As for the code checking for 2.0 OS,
my understanding is that this is correct partly for legacy purposes (you
don't want code that would work fine on a PalmPilot breaking just because
you don't have a Palm III).
The stationeries (File->New Project) would probably be the best way to
create a project; you don't really need to copy the Starter project from the
SDK for each new project. Unfortunately, while the stationery creator will
name your project and folder name to the name you specify, it will not
rename the source file or resources. Sorry.
Jun-Kiat Lam
Metrowerks Technical Support
----- Original Message -----
From: KUROSAKA Teruhiko <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, August 08, 1999 6:59 AM
Subject: Isn't Starter of PalmOS 3.0 MacSDK out of date?
> Hello,
> Per suggestion found in the ReadMe.txt of PalmOS 3.0 MacSDK, I tried to
> build my first application, based on the Starter project which is inside
> the Examples folder of the SDK. (I use CodeWarrior, Release 5, by the
way.)
>
> But the contents of the Starter folder does not look good to me because:
>
> 1. There are two copies of Starter.Rsrc file, one inside
> Rsc folder and the other inside the Src folder. I tend to think only
> one should be in use.
>
> 2. The Release 5 Constructor seems to generate a header file called
> Starter_res.h, rather than StarterRsrc.h, but this is not included
> from Starter.c.
>
> 3. Starter.c looks like trying to check if the ROM is 2.0 or later.
> Shouldn't it check if it is 3.0 or later?
>
> Is there a bug-fixed version of Starter somewhere?
>
> I am wondering how other developers are handling this situation.
>
> In other words, what is the best way to start a project using PalmOS 3.0
> MacSDK with CodeWarrior R5? The other difficulty I am facing with is
> that all files of the projects, starting with copying the Starter folder,
> contains the name Starter. I' d rather have my main .c file of a project
> Foo be called Foo.c, than Starter.c. But there are so many files to
> rename and so many places in the config to change. It's not that trivial.
> Is there any easier way to start a project?
>
> -kuro
>