Coder's Guild Mailing List

Re: Re: Re: precompiled headers

Posted by Fox on 1999-10-27

> alright, thanks, so if i need these files in a program:
> 
> <windows.h>
> <mmsystem.h>
> <dsound.h>
> <dmusic.h> 
> 
> then i should put them  in one of these pch's?
> next question:  how do i set one up?

//
They're automatically set up when your programs compile.

That selection is the default.  They should be on.  But if they aren't, the following 
should reinitiate them.

To make sure that the precompiled headers in your compiler are turned on:

-open your project
-go to |project|, select |settings|
-click the C++ tab
-click on the combo box labeled "category"
-click on "precompiled headers" within the combo pulldown area
-make sure that the button "automatic use of precompiled headers" is    
selected(you shouldn't need to fill the other box with anything).

This will tell the compiler to create and use them, without you having to do 
anything else.
________________________________________________________
Signed: Fox
        sfox@xxxxxxxx.xxx

Unbeknowst to most computer users, the "Hertz" is the unit
of measurement for how much faster and smarter the computer
is compared to you.
Sponsored by Wrox Press - www.wrox.com. Programmer to Programmer (TM)