Skip to content

fatal error: failed to load... error 126 #7

Description

@adakitesystems
  • Identify cause
  • Find solution
  • Display a pop-up error message
  • Implement solution in DropLauncher

Bug: bwheadless.exe displays error 126 when failing to inject BWAPI.dll. I have only encountered this error while using BWAPI 4.2.0 on Windows 7. Upon further investigation, it seems the Microsoft Visual C++ 2015 runtime files were missing. Installing the Microsoft Visual C++ 2015 Redistributable Package from the official Microsoft website resolved the issue. I assume this same error would also be displayed for any other set of missing VC runtime files.

Fix: Install the Microsoft Visual C++ 2015 Redistributable Package

Enhancement: Find an elegant solution to resolve this without requiring users to manually download and install the VC runtime files themselves.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions