c++ - Is Windows SDK always needed for including Windows.h? -
i tried utilize findfirstfile win api function in c programme , noticed can utilize after including windows.h in visual studio 2010. bit confused because never installed windows sdk on system. thought 1 can utilize windows.h after installing windows sdk. can explain me why possible? wondering starting capital letter of windows.h. in past used windows.h. have presentation of code on computer visual studio 2010 installed , need sure compile on computer. big helpful information!
the windows sdk isn't way headers - included visual studio.
visual c++ , windows header files
microsoft visual c++ includes copies of windows header files current @ time visual c++ released. therefore, if install updated header files sdk, may end multiple versions of windows header files on computer. if not ensure using latest version of sdk header files, receive next error code when compiling code uses features introduced after visual c++ released: error c2065: undeclared identifier.
source: http://msdn.microsoft.com/en-gb/library/windows/desktop/aa383745(v=vs.85).aspx)
c++ visual-studio-2010 include
No comments:
Post a Comment