Re: HELP! where is windows.h ??
- From: "William DePalo [MVP VC++]" <willd.no.spam@xxxxxxxx>
- Date: Sat, 9 Apr 2005 15:01:13 -0400
"Robert A. Macy" <Robert.A.Macy.1n8ohp@xxxxxxxxxxxxxxxxxxxxx> wrote in
message news:Robert.A.Macy.1n8ohp@xxxxxxxxxxxxxxxxxxxxxxxx
> everything I need has the line...
> #include windows.h
Yup.
Well, there are two major classes of headers that you typically need to be
concerned about when developing under Win32. One is the set of headers
required by the C and C++ runtimes. The other is the set of headers required
by the Win32 Platform SDK.
The former is distributed with the compiler. A _subset_ of the latter is
sometimes distributed with the compiler. In all cases, however, the _full_
set of the most recent PSDK headers is available in the free PSDK download
here:
http://www.microsoft.com/msdownload/platformsdk/sdkupdate/
Once you have the headers, the next step is to set the environmental
variable INCLUDE so that the compiler knows where to search and knows the
order to search folders for headers. It is a good idea to have the PSDK
headers searched _first_ like so
INCLUDE=C:\MSSDK\Include\.;C:\Program Files\Microsoft Visual Studio .NET
2003\SDK\v1.1\include\;C:\Program Files\Microsoft Visual
Studio\VC98\atl\include;C:\Program Files\Microsoft Visual
Studio\VC98\mfc\include;C:\Program Files\Microsoft Visual
Studio\VC98\include
The set of includes for you might well be different from my example above if
your toolkit does not include the MFC and ATL headers or if the installation
directories are different on your machine.
Regards,
Will
.
- References:
- HELP! where is windows.h ??
- From: Robert A . Macy
- HELP! where is windows.h ??
- Prev by Date: HELP! where is windows.h ??
- Next by Date: Re: HELP! where is windows.h ??
- Previous by thread: HELP! where is windows.h ??
- Next by thread: Re: HELP! where is windows.h ??
- Index(es):
Relevant Pages
|
Loading