Ben/Scott- Thanks guys for all your help and quick come back even after Turkey day and all.
Ben/Metrowerks guys, don't be so touchy, just my frustration late at night. You do have to look at it from a consumer's point of view. Like I said this was a stable and smooth running application for over a year and I was upgrading, Metrowerks in hopes of making my working environment more productive. What was going to be a 10-15 minute text change turned into hours of trial and error, message swapping and etc. Anyway, what I had done, last night, was because the CW6 folder was still on my machine I had pointed one of the access paths to "..\CW for Palm OS R6\Palm OS 3.1 Support" which developed the "Error :illegal precompiled header version. Pilot.h line 36 #include "Pilot.h.mch". error. Thinking about it I removed these points and re-assigned the access path to "..\CodeWarrior for Palm OS Platform 7.0\Palm OS 3.5 Support" now of course the error messages have changed, when I compile to 1.) "Error : the file 'Us.Prefix.h' cannot be opened.." and 2.) Error : the file 'Pilot.h' cannot be opened Main.c line 16 #include<Pilot.h>". Does this mean I will have to go thru all my applications that I built under CW6 for Palm OS 3.1 and change the include statements to PalmOS.h and etc. to now compile under CW7? Is there a section in the CW docs that explains this 'coversion' process for OS 3.1 CW6 to CW7? Again I do really appreciate the help and feed back from this form. Carl "Ben Combee" <[EMAIL PROTECTED]> wrote in message news:68793@palm-dev-forum... > > "Carl Smith" <[EMAIL PROTECTED]> wrote in message > news:68791@palm-dev-forum... > > > > I have a 3.1 application that I have had running and stable for over a > year > > now. I finally upgraded my codewarrior 6 to version 7. Now when I load > my > > application I can't get it to build because I get about 12 errors > stating > > "Error :illegal precompiled header version. Pilot.h line 36 > #include > > "Pilot.h.mch". Any suggestions or area of reference? > > > > Thanks all. > > > > PS To Metrowerks, thanks for making such great products. You always > make > > compiling and upgrading such a pleasure. NOT! > > This was not a Metrowerks problem -- it was caused by the switch to Palm > OS SDK 3.5. In the previous SDK version (3.1), the stationery that Palm > provided pulled in a precompiled header file that isn't available > anymore. To fix this, go to the C/C++ Compiler preference, and remove > the prefix file entry. You can replace it with "PalmOS_Headers" if you > still want to use a precompiled header (for speed), but you'll need to > add the "PalmOS_Headers.win.pch" file to your project to get this built. > > BTW, sarcasm generally discourages us programmers and developers at > Metrowerks from helping you. These same problems would occur if you > upgraded your CW Palm 6 setup with the new SDK. > > > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/