Home > Software design >  LoadLibraryExW is not loading the language-specific MUI version of the application
LoadLibraryExW is not loading the language-specific MUI version of the application

Time:10-10

When localizing applications in Windows, you provide your application:

  • C:\Program Files\Contoso\Grobber.exe

and you supply various dll (with a .mui extension) in child folders that contain localized resources:

  • C:\Program Files\Contoso\Grobber.exe
  • C:\Program Files\Contoso\en-US\Grobber.exe.mui
  • C:\Program Files\Contoso\en-CA\Grobber.exe.mui
  • C:\Program Files\Contoso\fr-CAca\Grobber.exe.mui
  • C:\Program Files\Contoso\fr-FR\Grobber.exe.mui
  • C:\Program Files\Contoso\es-US\Grobber.exe.mui
  • C:\Program Files\Contoso\fr-DE\Grobber.exe.mui

And according to Microsoft, and enter image description here

also we can do this direct by call api from ntdll

EXTERN_C
NTSYSAPI
NTSTATUS
NTAPI
LdrLoadAlternateResourceModuleEx (
    _In_ HMODULE hModule,
    _In_ LANGID LangId,
    _Out_ HMODULE* pAltResourceDllHandle,
    _Out_ PSIZE_T ViewSize);
  • Related