Re: platform SDK



David Wilkinson wrote:
Ben Voigt [C++ MVP] wrote:
Or if you have the Express Edition, which includes only the
standard library and doesn't have the Windows SDK at all.
Of course it includes some subset PSDK. Otherwise it would have
been impossible to write anything working for Windows platform
with EE. Just grep for "#include <windows.h>" in CRT sources.

Nope. The runtime components are part of Windows, not part of the
SDK. Only if the CRT public headers #include <windows.h> would the
Windows SDK be needed.

Ben:

Long ago I was very confused about the relationship/difference
between the CRT and the PSDK. Now you are starting to confuse me
again...

If you build an application that uses the Windows API, you would need the
SDK, but your users wouldn't.

Same is true of the CRT. You need the Windows SDK to build the CRT, but not
to use it. At least that's the case in DLL form. If you statically link,
you are essentially performing the last step in building the CRT, so you'd
still need the SDK (for the import libraries).


.



Relevant Pages

  • Re: platform SDK
    ... Ben Voigt [C++ MVP] wrote: standard library and doesn't have the Windows SDK at all. ... Of course it includes some subset PSDK. ... Now you are starting to confuse me again... ...
    (microsoft.public.vc.language)
  • Re: platform SDK
    ... need the SDK, but your users wouldn't. ... Same is true of the CRT. ... You need the Windows SDK to build the ... If you statically link, you are essentially performing the last ...
    (microsoft.public.vc.language)