View Single Post
Old 27th April 2019, 14:07   #8  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
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?
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database

Last edited by ChaosKing; 27th April 2019 at 14:22.
ChaosKing is offline   Reply With Quote