Skip to content
This repository was archived by the owner on Jan 7, 2025. It is now read-only.
This repository was archived by the owner on Jan 7, 2025. It is now read-only.

'HCS_E_HYPERV_NOT_INSTALLED': undeclared identifier #103

Open

Description

Hello, everyone! Happy new year!

Current state of the master branch fails to compile with msbuild command line.
PR #101 introduced the HRESULT HCS_E_HYPERV_NOT_INSTALLED which seems to be defined in Windows 10 SDK, version 1809 (10.0.17763.0), a few releases behind the latest, but the launcher project file targets version 10.0.16299, thus resulting in the undeclared identifier compilation error.

The fix seems to be simple: upgrade the target SDK to a proper version. To which version of the SDK should we upgrade to?

Activity

  1. Biswa96 commented on Jan 6, 2022

    @Biswa96
  2. cnihelton commented on Jan 6, 2022

    @cnihelton
    Author
  3. Biswa96 commented on Jan 6, 2022

    @Biswa96

    Alternatively, it will be easier just to defined the constant in source code like this:

    #define HCS_E_HYPERV_NOT_INSTALLED _HRESULT_TYPEDEF_(0x80370102L)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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