Главная страница | назад

Article #16454: OWL pre compiled headers

 Question and Answer Database

FAQ1454C.txt   OWL pre compiled headers
Category   :OWL
Platform    :All
Product    :BC++  5.x


Did the rules for precompiled headers change between BC++
4.5 and BC++ 5.0? I just upgraded to 5.01 and tried to
recompile an old project. Its C++ files simply included
, but to get them to recompile with BC++ 5.01,
I had to add header includes for the specific classes used.
For example, to use a TComboBox, I had to include 
(did this really need to change?) and then . 
Otherwise, the compiler spewed errors related to not 
understanding the types used.


Check your defines in the options for compiling. You will see a 
OWL_PCH defined. If you want all OWL header, change this OWL_PCH 
to OWL_ALL_PCH. Of course, this precompiled header will get very
large so you better have lots of RAM. Furthermore,  unless
_OWL_ALL_PCH is defined, you only get PCH support for the "core 
OWL" classes: TWindow, TDialog,TApplication, TModule, TDC and a
 few others. 

7/2/98 10:32:32 AM

Last Modified: 01-SEP-99