- Find windows OS version from command line
- Find OS Version and Service Pack number from CMD
- Check Windows version using WMIC command
- Common Control Versions
- Common Control DLL Versions Numbers
- Structure Sizes for Different Common Control Versions
- Using DllGetVersion to Determine the Version Number
- Project Versions
- Как скачать и устранить ошибки DLL Version.dll
- Обзор файла
- Что такое сообщения об ошибках version.dll?
- Ошибки библиотеки динамической компоновки version.dll
- Как исправить ошибки version.dll — 3-шаговое руководство (время выполнения:
- Шаг 1. Восстановите компьютер до последней точки восстановления, «моментального снимка» или образа резервной копии, которые предшествуют появлению ошибки.
- Шаг 2. Запустите средство проверки системных файлов (System File Checker), чтобы восстановить поврежденный или отсутствующий файл version.dll.
- Шаг 3. Выполните обновление Windows.
- Если эти шаги не принесут результата: скачайте и замените файл version.dll (внимание: для опытных пользователей)
Find windows OS version from command line
Windows has command line utilities that show us the version of the Windows OS running on the computer, including the service pack number. There are multiple CMD commands that help with finding this, you can pick the one that suits your need. Ver command can show you the OS version whereas Systeminfo command can additionally give you service pack, OS edition and build number etc.
Find OS Version and Service Pack number from CMD
As you can see above, ver command shows only OS version but not the service pack number. We can find service pack number as well with Systeminfo command. Systeminfo dumps lot of other information too, which we can filter out using findstr command.
This command works on XP, Vista and Windows 7 and on Server editions also. Find below example for Win7.
In case of Windows 7 SP1, the output would be slightly different as below.
If you want to print more details, then you can use just ‘OS’ in the findstr search pattern. See example below for Server 2008.
Check Windows version using WMIC command
Run the below WMIC command to get OS version and the service pack number.
Example on Windows 7:
If you want to find just the OS version, you can use ver command. Open command window and execute ver command. But note that this does not show service pack version.
This command does not show version on a Windows 7 system.
Common Control Versions
This topic lists the available versions of the Common Control library (ComCtl32.dll), describes how to identify the version that your application is using, and explains how to target your application for a specific version.
This topic contains the following sections.
Common Control DLL Versions Numbers
Support for common controls is provided by ComCtl32.dll, which all 32-bit and 64-bit versions of Windows include. Each successive version of the DLL supports the features and API of earlier versions and adds new features.
Because various versions of ComCtl32.dll were distributed with Internet Explorer, the version that is active is sometimes different from the version that was shipped with the operating system. Therefore, your application must directly determine which version of ComCtl32.dll is present.
In the common controls reference documentation, many programming elements specify a minimum supported DLL version number. This version number indicates that the programming element is implemented in that version and subsequent versions of the DLL unless otherwise specified. If no version number is specified, the programming element is implemented in all existing versions of the DLL.
The following table outlines the different DLL versions and how they were distributed on supported OSes.
Microsoft Internet ExplorerВ 5.01, Microsoft Internet ExplorerВ 5.5, and Microsoft Internet ExplorerВ 6
Windows ServerВ 2003, WindowsВ Vista, Windows ServerВ 2008, and WindowsВ 7
Windows ServerВ 2003
WindowsВ Vista, Windows ServerВ 2008, and WindowsВ 7
Structure Sizes for Different Common Control Versions
Ongoing enhancements to common controls have resulted in the need to extend many of the structures. For this reason, the size of the structures has changed between different versions of Commctrl.h. Because most of the common control structures take a structure size as one of the parameters, a message or function can fail if the size is not recognized. To remedy this, structure size constants have been defined to aid in targeting different version of ComCtl32.dll. The following list defines the structure size constants.
HDITEM_V1_SIZE | The size of the HDITEM structure in version 4.0. |
IMAGELISTDRAWPARAMS_V3_SIZE | The size of the IMAGELISTDRAWPARAMS structure in version 5.9. |
LVCOLUMN_V1_SIZE | The size of the LVCOLUMN structure in version 4.0. |
LVGROUP_V5_SIZE | The size of the LVGROUP structure in version 6.0. |
LVHITTESTINFO_V1_SIZE | The size of the LVHITTESTINFO structure in version 4.0. |
LVITEM_V1_SIZE | The size of the LVITEM structure in version 4.0. |
LVITEM_V5_SIZE | The size of the LVITEM structure in version 6.0. |
LVTILEINFO_V5_SIZE | The size of the LVTILEINFO structure in version 6.0. |
MCHITTESTINFO_V1_SIZE | The size of the MCHITTESTINFO structure in version 4.0. |
NMLVCUSTOMDRAW_V3_SIZE | The size of the NMLVCUSTOMDRAW structure in version 4.7. |
NMTTDISPINFO_V1_SIZE | The size of the NMTTDISPINFO structure in version 4.0. |
NMTVCUSTOMDRAW_V3_SIZE | The size of the NMTVCUSTOMDRAW structure in version 4.7. |
PROPSHEETHEADER_V1_SIZE | The size of the PROPSHEETHEADER structure in version 4.0. |
PROPSHEETPAGE_V1_SIZE | The size of the PROPSHEETPAGE structure in version 4.0. |
REBARBANDINFO_V3_SIZE | The size of the REBARBANDINFO structure in version 4.7. |
REBARBANDINFO_V6_SIZE | The size of the REBARBANDINFO structure in version 6.0. |
TTTOOLINFO_V1_SIZE | The size of the TOOLINFO structure in version 4.0. |
TTTOOLINFO_V2_SIZE | The size of the TOOLINFO structure in version 4.7. |
TTTOOLINFO_V3_SIZE | The size of the TOOLINFO structure in version 6.0. |
TVINSERTSTRUCT_V1_SIZE | The size of the TVINSERTSTRUCT structure in version 4.0. |
Using DllGetVersion to Determine the Version Number
The DllGetVersion function can be called by an application to determine which DLL version is present on the system.
DllGetVersion returns a DLLVERSIONINFO2 structure. In addition to the information provided through DLLVERSIONINFO, DLLVERSIONINFO2 also provides the hotfix number that identifies the latest installed service pack, which provides a more robust way to compare version numbers. Because the first member of DLLVERSIONINFO2 is a DLLVERSIONINFO structure, the later structure is backward-compatible.
The following sample function GetVersion loads a specified DLL and attempts to call its DllGetVersion function. If successful, it uses a macro to pack the major and minor version numbers from the DLLVERSIONINFO structure into a DWORD that is returned to the calling application. If the DLL does not export DllGetVersion, the function returns zero. You can modify the function to handle the possibility that DllGetVersion returns a DLLVERSIONINFO2 structure. If so, use the information in that DLLVERSIONINFO2 structure’s ullVersion member to compare versions, build numbers, and service pack releases. The MAKEDLLVERULL macro simplifies the task of comparing these values to those in ullVersion.
Using LoadLibrary incorrectly can pose security risks. Refer to the LoadLibrary documentation for information on how to correctly load DLLs with different versions of Windows.
The following code example shows how you can use GetVersion to test whether ComCtl32.dll is version 6.0 or later.
Project Versions
To ensure that your application is compatible with different targeted versions of a .dll file, version macros are present in the header files. These macros are used to define, exclude, or redefine certain definitions for different versions of the DLL. See Using the Windows Headers for an in-depth description of these macros.
For example, the macro name _WIN32_IE is commonly found in older headers. You are responsible for defining the macro as a hexadecimal number. This version number defines the target version of the application that is using the DLL. The following table shows the available version numbers and the effect each has on your application.
Version | Description |
---|---|
0x0300 | The application is compatible with ComCtl32.dll version 4.70 and later. The application cannot implement features that were added after version 4.70. |
0x0400 | The application is compatible with ComCtl32.dll version 4.71 and later. The application cannot implement features that were added after version 4.71. |
0x0401 | The application is compatible with ComCtl32.dll version 4.72 and later. The application cannot implement features that were added after version 4.72. |
0x0500 | The application is compatible with ComCtl32.dll version 5.80 and later. The application cannot implement features that were added after version 5.80. |
0x0501 | The application is compatible with ComCtl32.dll version 5.81 and later. The application cannot implement features that were added after version 5.81. |
0x0600 | The application is compatible with ComCtl32.dll version 6.0 and later. The application cannot implement features that were added after version 6.0. |
If you do not define the _WIN32_IE macro in your project, it is automatically defined as 0x0500. To define a different value, you can add the following to the compiler directives in your make file; substitute the desired version number for 0x0400.
Another method is to add a line similar to the following in your source code before you include the Shell header files. Substitute the desired version number for 0x0400.
Как скачать и устранить ошибки DLL Version.dll
Последнее обновление: 05/05/2020 [Время на прочтение:
Файлы Version Checking and File Installation Libraries, такие как version.dll, используют расширение DLL. Файл считается файлом Win32 DLL (Библиотека динамической компоновки) и впервые был создан компанией Microsoft для пакета ПО Microsoft® Windows® Operating System.
Файл version.dll изначально был выпущен с Windows XP 10/25/2001 для ОС Windows XP. Самый последний выпуск для Windows 10 состоялся 07/29/2015 [версия 10.0.15063.0 (WinBuild.160101.0800)]. Файл version.dll включен в Windows 10, Windows 8.1 и Windows 8.
Продолжайте читать, чтобы найти загрузку правильной версии файла version.dll (бесплатно), подробные сведения о файле и порядок устранения неполадок, возникших с файлом DLL.
Рекомендуемая загрузка: исправить ошибки реестра в WinThruster, связанные с version.dll и (или) Windows.
Совместимость с Windows 10, 8, 7, Vista, XP и 2000
Средняя оценка пользователей
Обзор файла
Общие сведения ✻ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Имя файла: | version.dll | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Расширение файла: | расширение DLL | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Описание: | Version Checking and File Installation Libraries | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Тип объектного файла: | Dynamic link library | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Файловая операционная система: | Windows NT 32-bit | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Тип MIME: | application/octet-stream | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Пользовательский рейтинг популярности: |
Сведения о разработчике и ПО | |
---|---|
Разработчик ПО: | Microsoft Corporation |
Программа: | Microsoft® Windows® Operating System |
Авторское право: | © Microsoft Corporation. All rights reserved. |
Сведения о файле | |
---|---|
Набор символов: | Unicode |
Код языка: | English (U.S.) |
Флаги файлов: | (none) |
Маска флагов файлов: | 0x003f |
Точка входа: | 0x17c0 |
Размер кода: | 10752 |
Информация о файле | Описание |
---|---|
Размер файла: | 27 kB |
Дата и время изменения файла: | 2017:03:18 18:19:25+00:00 |
Дата и время изменения индексного дескриптора файлов: | 2017:11:05 07:07:54+00:00 |
Тип файла: | Win32 DLL |
Тип MIME: | application/octet-stream |
Предупреждение! | Possibly corrupt Version resource |
Тип компьютера: | Intel 386 or later, and compatibles |
Метка времени: | 2076:04:23 08:06:08+00:00 |
Тип PE: | PE32 |
Версия компоновщика: | 14.10 |
Размер кода: | 10752 |
Размер инициализированных данных: | 7168 |
Размер неинициализированных данных: | 0 |
Точка входа: | 0x17c0 |
Версия ОС: | 10.0 |
Версия образа: | 10.0 |
Версия подсистемы: | 10.0 |
Подсистема: | Windows GUI |
Номер версии файла: | 10.0.15063.0 |
Номер версии продукта: | 10.0.15063.0 |
Маска флагов файлов: | 0x003f |
Флаги файлов: | (none) |
Файловая ОС: | Windows NT 32-bit |
Тип объектного файла: | Dynamic link library |
Подтип файла: | 0 |
Код языка: | English (U.S.) |
Набор символов: | Unicode |
Наименование компании: | Microsoft Corporation |
Описание файла: | Version Checking and File Installation Libraries |
Версия файла: | 10.0.15063.0 (WinBuild.160101.0800) |
Внутреннее имя: | version |
Авторское право: | © Microsoft Corporation. All rights reserved. |
Оригинальное имя файла: | VERSION.DLL |
Название продукта: | Microsoft® Windows® Operating System |
Версия продукта: | 10.0.15063.0 |
✻ Фрагменты данных файлов предоставлены участником Exiftool (Phil Harvey) и распространяются под лицензией Perl Artistic.
Что такое сообщения об ошибках version.dll?
Ошибки библиотеки динамической компоновки version.dll
Файл version.dll считается разновидностью DLL-файла. DLL-файлы, такие как version.dll, по сути являются справочником, хранящим информацию и инструкции для исполняемых файлов (EXE-файлов), например sapisvr.exe. Данные файлы были созданы для того, чтобы различные программы (например, Windows) имели общий доступ к файлу version.dll для более эффективного распределения памяти, что в свою очередь способствует повышению быстродействия компьютера.
К сожалению, то, что делает файлы DLL настолько удобными и эффективными, также делает их крайне уязвимыми к различного рода проблемам. Если что-то происходит с общим файлом DLL, то он либо пропадает, либо каким-то образом повреждается, вследствие чего может возникать сообщение об ошибке выполнения. Термин «выполнение» говорит сам за себя; имеется в виду, что данные ошибки возникают в момент, когда происходит попытка загрузки файла version.dll — либо при запуске приложения Windows, либо, в некоторых случаях, во время его работы. К числу наиболее распространенных ошибок version.dll относятся:
- Нарушение прав доступа по адресу — version.dll.
- Не удается найти version.dll.
- Не удается найти C:\Windows\System32\version.dll.
- Не удается зарегистрировать version.dll.
- Не удается запустить Windows. Отсутствует требуемый компонент: version.dll. Повторите установку Windows.
- Не удалось загрузить version.dll.
- Не удалось запустить приложение, потому что не найден version.dll.
- Файл version.dll отсутствует или поврежден.
- Не удалось запустить это приложение, потому что не найден version.dll. Попробуйте переустановить программу, чтобы устранить эту проблему.
Файл version.dll может отсутствовать из-за случайного удаления, быть удаленным другой программой как общий файл (общий с Windows) или быть удаленным в результате заражения вредоносным программным обеспечением. Кроме того, повреждение файла version.dll может быть вызвано отключением питания при загрузке Windows, сбоем системы при загрузке version.dll, наличием плохих секторов на запоминающем устройстве (обычно это основной жесткий диск) или, как нередко бывает, заражением вредоносным программным обеспечением. Таким образом, крайне важно, чтобы антивирус постоянно поддерживался в актуальном состоянии и регулярно проводил сканирование системы.
Как исправить ошибки version.dll — 3-шаговое руководство (время выполнения:
Если вы столкнулись с одним из вышеуказанных сообщений об ошибке, выполните следующие действия по устранению неполадок, чтобы решить проблему version.dll. Эти шаги по устранению неполадок перечислены в рекомендуемом порядке выполнения.
Шаг 1. Восстановите компьютер до последней точки восстановления, «моментального снимка» или образа резервной копии, которые предшествуют появлению ошибки.
Чтобы начать восстановление системы (Windows XP, Vista, 7, 8 и 10):
- Нажмите кнопку «Пуск» в Windows
- В поле поиска введите «Восстановление системы» и нажмите ENTER.
- В результатах поиска найдите и нажмите «Восстановление системы»
- Введите пароль администратора (при необходимости).
- Следуйте инструкциям мастера восстановления системы, чтобы выбрать соответствующую точку восстановления.
- Восстановите компьютер к этому образу резервной копии.
Если на этапе 1 не удается устранить ошибку version.dll, перейдите к шагу 2 ниже.
Шаг 2. Запустите средство проверки системных файлов (System File Checker), чтобы восстановить поврежденный или отсутствующий файл version.dll.
Средство проверки системных файлов (System File Checker) — это утилита, входящая в состав каждой версии Windows, которая позволяет искать и восстанавливать поврежденные системные файлы. Воспользуйтесь средством SFC для исправления отсутствующих или поврежденных файлов version.dll (Windows XP, Vista, 7, 8 и 10):
- Нажмите кнопку «Пуск» в Windows
- В поле поиска введите cmd, но НЕ НАЖИМАЙТЕ ENTER.
- Нажмите и удерживайте CTRL-Shift на клавиатуре, одновременно нажимая ENTER.
- Появится диалоговое окно запроса разрешения.
- В поле нажмите «ДА».
- Должен отображаться черный экран с мигающим курсором.
- На этом черном экране введите sfc /scannow и нажмите ENTER.
- Средство проверки системных файлов (System File Checker) начнет поиск неполадок, связанных с version.dll, а также других неполадок с системными файлами.
- Для завершения процесса следуйте инструкциям на экране.
Следует понимать, что это сканирование может занять некоторое время, поэтому необходимо терпеливо отнестись к процессу его выполнения.
Если на этапе 2 также не удается устранить ошибку version.dll, перейдите к шагу 3 ниже.
Шаг 3. Выполните обновление Windows.
Когда первые два шага не устранили проблему, целесообразно запустить Центр обновления Windows. Во многих случаях возникновение сообщений об ошибках version.dll может быть вызвано устаревшей операционной системой Windows. Чтобы запустить Центр обновления Windows, выполните следующие простые шаги:
- Нажмите кнопку «Пуск» в Windows
- В поле поиска введите «Обновить» и нажмите ENTER.
- В диалоговом окне Центра обновления Windows нажмите «Проверить наличие обновлений» (или аналогичную кнопку в зависимости от версии Windows)
- Если обновления доступны для загрузки, нажмите «Установить обновления».
- После завершения обновления следует перезагрузить ПК.
Если Центр обновления Windows не смог устранить сообщение об ошибке version.dll, перейдите к следующему шагу. Обратите внимание, что этот последний шаг рекомендуется только для продвинутых пользователей ПК.
Если эти шаги не принесут результата: скачайте и замените файл version.dll (внимание: для опытных пользователей)
Если ни один из предыдущих трех шагов по устранению неполадок не разрешил проблему, можно попробовать более агрессивный подход (примечание: не рекомендуется пользователям ПК начального уровня), загрузив и заменив соответствующую версию файла version.dll. Мы храним полную базу данных файлов version.dll со 100%-ной гарантией отсутствия вредоносного программного обеспечения для любой применимой версии Windows . Чтобы загрузить и правильно заменить файл, выполните следующие действия:
- Найдите версию операционной системы Windows в нижеприведенном списке «Загрузить файлы version.dll».
- Нажмите соответствующую кнопку «Скачать», чтобы скачать версию файла Windows.
- Копировать файл в соответствующий каталог вашей версии Windows:
Если этот последний шаг оказался безрезультативным и ошибка по-прежнему не устранена, единственно возможным вариантом остается выполнение чистой установки Windows 10.