Hi Bruce,
You may want to check this for a (hopefully) smooth upgrade:
a) Palm OS 3.5 uses <PalmOS.h>. It no longer uses <Pilot.h>, so you should
replace the appropriate #include
b) Data types have changed between Palm OS 3.1 and Palm OS 3.5. You can
however avoid or at least minimize the renaming, by #including
<PalmCompatibility.h> which will ease the type transitions.
c) Remove Us.Prefix.h from the Prefix File field. It doesn't exist in Palm
OS 3.5.
d) Remove any access paths to the Palm OS 3.1 Support folder and use only
the Palm OS 3.5 Support folder.
There may be other issues but I think this might be a good start to look at.
Most of your resources should still work with Palm OS 3.5, but if you want
color then you will need to do a little extra and create the appropriate
color icons/bitmaps plus switch to using Bitmap and Icon Families
exclusively. You may want to check out the SDK examples for an idea of how
Bitmap and Icon Families are used.
Hope this helps!
Rgds,
Jun-Kiat Lam
Metrowerks Technical Support
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Bruce
Hartwig
Sent: Thursday, June 15, 2000 3:46 PM
To: Palm Developer Forum
Subject: SDK 3.5 Upgrade
Hi. Newbee question.
I am developing my first Palm application with Codewarrier R6 with a few
minor problems; none that I couldn't figure out with a lot of research.
Then I read on this forum about release 3.5 SDK and found that the
Codewarrier I got only had SDK 3.1. Sooo, I download the 3.5 SDK, the
upgrade to 3.5 (and I also downloaded the 3.5 example). Unzipped them and
installed them according to the instructions on the Web.
Went back and recompiled my project and I got over 100 errors. All of them
were:
macro redefined
indetifier redeclared
illegal name overloading
plus one screwy message about "the file 'Us.Prefix.h' cannot be opened.
All of the errors point to header files in the new 'Palm OS 3.5 Support'
directory.
So I figure that the old headers are still around so I move to an entirely
different folder the old 'Palm OS 3.1 Support' directory. I also did a
Project , Remove Object Code and a Project , Reset Project Entry paths. I
have also deleted all of the .tmp files in my project folder. None of this
had any effect.
I assume that it is caused by pre-compiled headers. Is that correct and if
so how do I fix that. Or is there another solution?
I guess you shouldn't change SDK levels in the middle of a project but I
have a IIIc and wanted 3.5.
Any help would be appreciated.
Thanks,
Bruce Hartwig
--
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/