Can't open headers files when debugging executable in VS2017


  • I am compiling my project via cl command and use VS2017 only to debug executable. I can't open windows.h, xinput.h and dsound.h, but I am able to jump to stdint.h. I've got such errors as "File 'dsound.h not found in current files's directory or in build system paths. ...". When I recreated project in the VS2017 everything in working and I can open all headers files.

    I located all headers in C:\Program Files (x86)\Windows Kits\... and project is compiling and working without problems.

    Sunday, March 26, 2017 10:40 PM

All replies