And no messagebox is shown? I only tested it on win10 64bit.
I had no try catch before.
Code:
RegistryKey localKey;
if (Environment.Is64BitOperatingSystem)
localKey = RegistryKey.OpenBaseKey(RegistryHive.LocalMachine, RegistryView.Registry64);
else
localKey = RegistryKey.OpenBaseKey(RegistryHive.LocalMachine, RegistryView.Registry32);
string reg_value = null;
try
{
reg_value = (string)localKey.OpenSubKey("SOFTWARE\\VapourSynth").GetValue("Path");
} catch
{
MessageBox.Show("Can not find your VapourSynth installation.");
System.Environment.Exit(1);
}
Could you run this build
https://www.dropbox.com/s/o0wj9l9tko...I_msg.zip?dl=1
It shows A, B, C etc
What is the last letter you're seeing?