Editor/Configurator will not open if the user's startup folder does not exist.
A system-wide equalizer for Windows 7 / 8 / 8.1 / 10 / 11
Brought to you by:
jthedering
In VoicemeeterAPOInfo.cpp the function "wstring VoicemeeterAPOInfo::getStartupPath()",
if the user's startup folder does not exist this function will cause SHGetKnownFolderPath to not return a proper path for startupPath. This will causes a memory access violation since its reading memory from null. The editor and the configurator will not open because of it.
Unfortunately this bug probably won't be fixed for a long time as the developer isn't very active. In what circumstances does this bug occur?
Got the same issue and start debugging.
It crashes then folder "%APPDATA%\Microsoft\Windows\Start Menu\Programs\StartUp" doesn't exists
It's also possible that there is no "Startup" value in the registry because I added it there first.
On my Windows 11 laptop I have the value %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup in HKEYCURRENTUSER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders. Btw. I didn't add this myself. The developer probably, and maybe correctly, assumed that this registry key was always available. If it indeed should be the case then the question is why it isn't available on some Windows computers.
If this is important: I had a replacement of the motherboard and CPU without removing the equalizer. Then I deleted the user profile and logged in a domain account later, i.e. A freshly created profile was used. (Enterprise Windows with Active Directory)
Do you think that the registry key value was deleted after deleting the (former) user profile? In principle it should remain and work nicely by the %USERPROFILE% environment variable for a new profile.