콘텐츠로 바로 가기
STAGING SERVER
DEVELOPMENT SERVER

오류: "Failed to expand HAP file" / "Unable to load vas.dll Error code: -122"#

문제#

VisualApplets .hap 파일을 생성한 후 다른 컴퓨터에서 해당 파일을 실행하려고 할 때 오류 메시지가 표시될 수 있습니다.

  • 에서 microDisplay: "Unable to load vas.dll Error code: -122"
    microDisplay의 오류 메시지
  • 에서 microDisplay X: "ERROR Failed to expand HAP file while opening shared library …/vas.dll: The specified module could not be found."
    microDisplay X의 오류 메시지

해결 방법#

.hap 파일이 이전 버전의 Windows에서 생성된 후 Windows 10과 같은 최신 Windows 버전에서 실행되었을 가능성이 있습니다.

"Microsoft Visual C++ 2015-2022 Redistributable (x64)" 패키지를 설치하면 문제가 해결됩니다:

Visual C++ 2015-2022 Redistributable

기술 자료로 돌아가기