> the problem is that I "make" the project I get errors like 
> "can't find/open
> pilot.h" or "can't open us.prefix.h" and of course a lot of 
> undefined const.
> and types, as a result.
> I also noticed that the SDK 4 installer has created a new 
> directory "c:/palm
> OS 4.0 SDK" (notice that it is not in the
> codeworrior dir) which has some stuff in it also, and I don't 
> really know if
> it should be there.

If the 4.0 SDK installer couldn't find a clean registry key for CW for Palm, it will 
just install to the C drive. The errors you are getting when you make are because you 
haven't made the change to use the 3.5/4.0 SDK datatypes and header files -- i.e. 
replacing Pilot.h with PalmOS.h. You will also need to add an include for 
PalmCompatibility.h to handle the new typedefs. Then, go into Edit-your project 
Settings in the C/C++ Language panel, and delete the reference to us.prefix.h in the 
Prefix File field.

-hkmlt

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to