1. Problem Manifestation#
- Still using the relatively older Windows 7 operating system
- It could be the 32-bit version or the 64-bit version
- Installation and use of Obsidian version 1.1.16 is normal
- However, newer versions like 1.4.12, 1.4.13, 1.6.5, 1.6.7, or 1.7.4 have no issues during installation
- But when opened, it prompts
Unable to locate the program entry point DiscardVirtualMemory in dynamic link library KERNEL32.dll
- Cannot run higher versions of Obsidian normally
2. Cause Analysis#
- Obsidian has upgraded to a higher version (above 23) of the electron framework
- Lower versions of electron cannot support higher versions of Obsidian
- The highest electron supported by Windows 7 is 22, and versions above 23 are not supported
3. Solution One: Update Electron#
- Search and download the Electron version starting with 22 from the Github website, the last usable version is 22.3.27
- For 64-bit Windows 7 system, download electron-v22.3.27-win32-x64.zip
- For 32-bit Windows 7 system, download electron-v22.3.27-win32-ia32.zip
- That is [[electron-v22.3.27-win32-x64.zip]] or [[electron-v22.3.27-win32-ia32.zip]]
- Then extract it to the Obsidian installation folder
- The default installation folder for Obsidian is
system drive/username/appdata/local/obsidian
- The default installation folder for Obsidian is
- Keep only the resources directory and uninstall, delete everything else
- Change the desktop Obsidian icon shortcut address to point to Electron.exe
- The Obsidian icon may change, but this way Obsidian can be opened
4. Solution Two: Install Compatibility Framework VxKex#
- Search and download VxKex from the Github website
- That is [[KexSetup_Release_1_1_1_1375.exe]]
- It may be blocked by antivirus software, turn off antivirus software before installation
- Go to the Obsidian installation folder, which is by default
system drive/username/appdata/local/obsidian
- Right-click on Obsidian.exe, open properties, and enable VxKex
- Pin Obsidian to the taskbar for quick access in the future
5. Solution Three: Internal Upgrade of Obsidian#
- First, install the supported version 1.1.16 of Obsidian
- Then open Obsidian settings - General - Check for updates - Update
- This will update to version 1.4.12
- To use version 1.4.13 and higher, the first two methods are required