Отключить масштабирование с высоким разрешением для файла DLL - Windows 10

3187
Ali Khan

Масштабирование с высоким DPI иногда может быть проблемой, обычно вы просто заходите в EXE и выключаете его вручную . Но как вы можете отключить его для файла DLL ?

Моя проблема заключается в том, что я хочу отключить его для Windows Photo Viewer, который, как представляется, является файлом DLL, а не EXE-файла!

Почему я хочу сделать это для собственного приложения Windows? Ну, потому что иногда их собственные приложения не работают должным образом, как они признались здесь .


Кроме того, кто-то может сказать мне, какой именно файл DLL является Windows Photo Viewer. Различные источники в Интернете дают мне эти 2 файла: (хотя первый выглядит очевидным!)

  1. C: \ Program Files \ Windows Photo Viewer \ PhotoViewer. длл
  2. C: \ WINDOWS \ System32 \ shimgvw. длл
4
* shimgvw.dll не является Windows Photo Viewer. * Это файл для `Windows Picture and Fax Viewer`, который был частью Windows XP. Ramhound 8 лет назад 0

2 ответа на вопрос

2
Mike

The problem of high DPI briefly explained:

According to this site:

The problem in Windows 10:
When you have a widescreen, with a resolution of 1920x1080 or higher or a bit lower, in Windows Vista, 7, 8 and 8.1 you would put your DPI scaling to 125% or higher to make text and images appear larger and more easy to read. But when you put the DPI scaling to 125% in Windows 10, you see in a lot of dialogs and windows the font gets very blurry.

And then it continues:

At some point we can understand Windows why they changed the DPI scaling in Windows 10. It is probably ment to support mobile devices more easy. But if you like to use your Desktop as a Desktop, and you demand high quality only. Then you can use this fix until Microsoft has addressed this issue.

Solution:

So, if you use your Windows 10 only for a Desktop purpose, you can download their free program called XPExplorer from here.

Why use this program and not some registry change?

The site answers:

Why this is a small software program, and not some 'Registry Tweak' is because when you manually adjust the DPI settings at your 'Windows Registry'. Windows will reset your dpi settings every 2 reboots. Which means you would have to adjust the registry again (Microsoft forces you almost to use its new DPI scaling method).**

I can confirm this solution works well (as well after reboots) on my Windows 10 setup.

Good luck.

Да, это сработало, спасибо. Здесь надеемся, что это останется! Ali Khan 8 лет назад 0
0
Tomaka

The dll file is located here in windows 10 : C:\Program Files (x86)\Windows Photo Viewer

Photo Viewer dll is launched by good old "rundll32.exe"

Looks like you can disable DPI scaling for "rundll32.exe" by adding the following registry key: "C:\Windows\System32\rundll32.exe" to

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers]

and set its value to "HIGHDPIAWARE"

Source here

I haven't tried it myself yet as Win10 photo app does the work for me