The small application is a goos sample and useful tool in the same time. It enumerates PE binary resources and counts languages used. Why? Normally you want single language of resources, however Visual Studio IDE does not show you languages in a convenient way and it is so easy to make a language mess which does not bite you immediately but might bring you troubles later. Apart from this there was a suspicion that language mess might cause runtime bugs on
The application gets you a summary of languages used and returns with exit code (checkable using e.g.
errorlevel) indicating number of languages.
LANGID, Language Name, Resource Count:
C:\>ListResourceLanguages.exe C:\Windows\syswow64\shell32.dll 1049 Russian 545 1033 English 3318