fatal error C1083: Cannot open type library file: 'C:\windows\system32\winhttp.dll': Error loading type library/DLL.

  • Thread starter Thread starter Swapnil Arora
  • Start date Start date
S

Swapnil Arora

Guest
Hi all,

I am building this CPP project of mine, it is getting build in my other machine, having windows 10, but when I am trying to build the same solution in Windows Server 2016 it is giving me the error mentioned in subject.

The file 'winhttp.dll' exists at the location, I have tried with 'SysWOW64' location as well but still facing the same issue. When i visit my 'stdafx.h' file and hover on the import statement I can see the following error:

"Error cannot open source file "C:/Program Files(x86)/Jenkins/workspace/<job-name>/<SVN-repository>/x64/ServiceBuild/winhttp.tlh"


As far as i know, the TLH file never exists instead it gets created when the project is building/rebuilding.

P.S. - both the machines uses same version of VS 2015.


Thanks in advance for all your help.

Continue reading...
 
Back
Top