Sorry, I don't quite understand. I am a new programmer in Palm Dev.
What is .pch file for?
and what is precompile version RTFM?
Thanks.
Rgs.
Edward
----- Original Message -----
From: Scott Johnson (Bellevue) <[EMAIL PROTECTED]>
To: Palm Developer Forum <[EMAIL PROTECTED]>
Sent: Wednesday, January 03, 2001 11:49 AM
Subject: RE: illegal use of precompiled header--SysEvtMgr.h
> > From: Paul Gilbert [mailto:[EMAIL PROTECTED]]
> > Frankly, pre-compiled headers in CodeWarrior have given me
> > nothing but trouble.
>
>
> The performance benefits of precompiled headers become obvious when your
> project size reaches 10, 20, 40 or more source files.
>
> > The best thing to do is just turn it off.
> > Create a text file called build.h in your Src directory:
> >
> > #define PILOT_PRECOMPILED_HEADERS_OFF
> >
> > Then in your Project Settings, go to the "C++ Language" page,
> > and enter "build.h" under the prefix file line.
>
> Actually that's almost the recipe for making a precompiled header that works
> trouble-free. Create a .pch file containing that #define following by
> #include <PalmOS.h> and any other #include's and global definitions you
> want. Then set the project prefix file name to be the precompiled version
> of the file (RTFM first). That's all there is to it.
>
> -slj-
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe, please see
>http://www.palmos.com/dev/tech/support/forums/
>
h�)ߢ���*'�{��x-��ږ`�h��Ţ�������칻�&ަW���zm����
Z�j,r��u����!�˩�����+�k?