Hi, On Tue, Feb 20, 2018 at 11:14 AM, Gert Doering <g...@greenie.muc.de> wrote: > Hi, > > well, today is the day that I get to break things, it seems... > > On Sat, Nov 18, 2017 at 12:40:58PM -0500, selva.n...@gmail.com wrote: >> + /* The default value of REG_KEY is the install path */ >> + if (GetRegString(key, NULL, install_path, sizeof(install_path), NULL) >> != ERROR_SUCCESS) >> + { >> + goto out; >> + } > > This seems to break on Win7/64 for me. > > Trying to start the latest iservice from Samuli's snapshot builds (master, > but I assume release/2.4 is also affected) returns a non-useful error > message. > > Looking into the event viewer, it tells me: > > openvpnserv error: Falscher Parameter. (0x57) > Error querying registry value: HKLM\SOFTWARE\OpenVPN\(null) > > ("Falscher Parameter" = "invalid argument") > > > ... so maybe this is not the right way to query the default path?
Hmm.. I thought I had tested the patch.. Looking at it right now -- hold on :) Selva ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel