Skip to content

Real taskman.exe crashes: Unimplemented API KERNEL32.DLL:GetSystemDefaultUILanguage #3

@n0isy

Description

@n0isy

Description

When running taskman.exe (Windows Task Manager), the emulator immediately shows an application error dialog and terminates:

taskman.exe has encountered a problem and needs to close.

Reason:  Unimplemented API: KERNEL32.DLL:GetSystemDefaultUILanguage
Address: 0x004e0170

Steps to reproduce

  1. Open [retrotick.com](https://retrotick.com)
  2. Drag and drop taskman.exe (e.g. from a Windows 2000/XP installation)
  3. Observe the error dialog appear immediately on launch

Expected behavior

Task Manager opens and renders its GUI, similar to how other Win32 apps like Calculator or Solitaire work.

API to implement

GetSystemDefaultUILanguage — exported from Kernel32.dll, declared in winnls.h.

Returns a LANGID identifying the system's default UI language (the "install language"). For emulation purposes, returning a hardcoded value such as 0x0409 (English - United States) should be sufficient to get taskman.exe past startup.

LANGID GetSystemDefaultUILanguage(void);
// Suggested stub: return 0x0409;

[Microsoft documentation](https://learn.microsoft.com/en-us/windows/win32/api/winnls/nf-winnls-getsystemdefaultuilanguage)

Environment

  • Browser: Chrome 132 / Firefox 134
  • OS: Windows 11
  • retrotick.com (latest)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions