Skip to content

Restore extension functionality on Windows 7 #14424

@qlost

Description

@qlost

Environment

  • OS and Version: Windows 7 SP1 [Version 6.1.7601]
  • VS Code Version: 1.108.2
  • C/C++ Extension Version: 1.32.2
  • If using SSH remote, specify OS of remote machine:

Bug Summary and Steps to Reproduce

Bug Summary:
Release requirements of extension says it works on Windows 7+ (x64, arm64). But it isn't true since 1.31.0.
It's because of version of msvcp140.dll in ...\extensions\ms-vscode.cpptools-1.32.2-win32-x64\bin
If we try to run cpptools-srv.exe, then get "The procedure entry point GetSystemTimePreciseAsFileTime could not be located in the dynamic link library KERNEL32.dll" error.
BTW removing/renaming that msvcp140.dll solves the problem for now because of presence it in system32 folder.

Steps to reproduce:

  1. Open any C/C++ file
  2. Click on 'Notifications' bell in bottom-right corner
  3. Go to output
  4. See error
[Error - 7:09:15 PM] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 7:09:15 PM] The language server crashed 5 times in the last 3 minutes. It will not be restarted.
[Error - 7:09:15 PM] cpptools client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097

Expected behavior:
no errors

Configuration and Logs

In fact, configuration doesn't matter.

Other Extensions

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions