Steve Mann writes:
> The problem is that the 
> basic data types have changed with 3.5 such that an Int is now called 
> an Int32 for instance.

(Actually the old Int type corresponds to Int16.)

> Has anyone worked out a proper scheme for 
> using pre 3.5 source code in a 3.5 project without changing the 
> source code? I've been able to get an almost clean compile using a 
> bunch of typedefs, but then I need to test, and so on.

Yes, it's called PalmCompatibility.h, it's in your SDK header tree, and it
contains that bunch of typedefs.  Instead of #including Pilot.h, you can use

        #include <PalmOS.h>
        #include <PalmCompatibility.h>

as a stopgap measure, and get the old typenames.  I'm sure you can think of
a way to arrange this without changing your source code :-).

(Actually in the alpha 3.5 SDK available on the Provider Pavillion this
file is still called CoreCompatibility.h.  PalmCompatibility.h is the
name it'll have in the final version, and you might want to rename your
one.  Such is the wonder of alpha software :-))

    John

Reply via email to