From: "Fish Wang" References: <024d01d26459$2589a3d0$709ceb70$@gmail.com> <20170101182035.GE78624@...1296...> In-Reply-To: <20170101182035.GE78624@...1296...> Date: Sun, 1 Jan 2017 10:32:34 -0800 Message-ID: <028801d2645d$6c491270$44db3750$@gmail.com> MIME-Version: 1.0 Content-Language: zh-cn Subject: Re: [Openvpn-devel] Visual Studio support? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: 'Gert Doering' Cc: openvpn-devel@lists.sourceforge.net Thanks for your (and Steffan's) reply. I also noticed that 2.4 and 2.5 only supports Vista+, so it might make sense to remove dynamic function loading for WPF in openvpnserv (see all those LoadLibrary and GetProcAddress code in [1]). But somehow I have an impression that openvpnserv is no longer supported and openvpnserv2 should be used instead, so such a patch is not useful. What do you think? Best, Fish [1] https://github.com/OpenVPN/openvpn/blob/master/src/openvpnserv/interactive.c -----Original Message----- From: Gert Doering [mailto:gert@...1296...] Sent: Sunday, January 1, 2017 10:21 AM To: Fish Wang Cc: openvpn-devel@lists.sourceforge.net Subject: Re: [Openvpn-devel] Visual Studio support? Hi, On Sun, Jan 01, 2017 at 10:01:57AM -0800, Fish Wang wrote: > I'm finishing up a patch to make sure OpenVPN compiles under Visual Studio. > I have several questions; > > - Do you want to apply such a patch to master and/or release/2.4, or > should I maintain it separately? Unless it's highly intrusive, it makes sense to merge it. Since we're not compiling with VS, we sometimes break stuff, but this is not intentional :-) > - What is the minimum version of Visual Studio do we want to support? I have no idea. Something recent, which can do C99, as that's the coding standard we've change to for 2.4 and master-after-2.4 > - Should such a patch be developed against maste, release/2.4 branch, > or both? Master (as always). gert -- USENET is *not* the non-clickable part of WWW! //www.muc.de/~gert/ Gert Doering - Munich, Germany gert@...1296... fax: +49-89-35655025 gert@...1297...