lucidusdev / PhotoViewer-Out-Of-Memory-Dll-Patch

Fix Windows Photo Viewer "Out of Memory" Error

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Windows Photo Viewer "not enough memory" Patch

About

This project is inspired by PhotoViewerOutOfMemoryNoMore.

Directly modifying the ImagingEngine.dll works fine, however, while Windows wouldn't try to restore the DLL, sfc /scannow will report file corruption. So I make a simple in-memory patch to keep the original ImagingEngine.dll intact with dll hijacking.

How to use

Download the mscms.dll from release and put it in C:\Program Files\Windows Photo Viewer folder.

Build from source

Run make under MingW.

Tested

  • Windows 10 21H2

  • Windows 11 22H2

Should work for Windows 7 or later.

Thanks

PaaaulZ's original work

DLL Hijacking guide by tothi

About

Fix Windows Photo Viewer "Out of Memory" Error


Languages

Language:C 82.5%Language:Makefile 17.5%