Hi there! I'm building a VB.NET application in order to setup the configuration files of a net (and this is the really easy part of my project) via INI file, but now I've got some problems... launching tincd -n [NET] -K I should insert some variables, and it is impossible to auto-fill them. So I've downloaded the source files and opened it. I found the part of that code and modified it (simply no scanf, directly the same variable suggested by the program), and then I tried to compile, but my Dev-CPP says that System.h is not a file (in the header part), and the compiling ends there... Another problem is device-related: I want to auto-rename the connection, but I have no idea on how to do that (even DOS or VB.NET commands). I've tried opening OemWin2k.inf, but no luck... Any idea? Thanks ^^
On Sun, Nov 26, 2006 at 01:48:53PM +0100, EleGoS wrote:> I'm building a VB.NET application in order to setup the configuration > files of a net (and this is the really easy part of my project) via INI > file, but now I've got some problems... > > launching tincd -n [NET] -K I should insert some variables, and it is > impossible to auto-fill them.Which variables do you want to automatically fill in?> So I've downloaded the source files and opened it. I found the part of > that code and modified it (simply no scanf, directly the same variable > suggested by the program),Can you show me what you modifies exactly?> and then I tried to compile, but my Dev-CPP says that System.h is not > a file (in the header part), and the compiling ends there...I don't know Dev-CPP. You should try compiling it by starting a MinGW shell and type: cd tinc-1.0.5 ./configure make You might need to add extra options to ./configure for it to be able to find the OpenSSL, zlib and LZO libraries.> Another problem is device-related: I want to auto-rename the connection, > but I have no idea on how to do that (even DOS or VB.NET commands). I've > tried opening OemWin2k.inf, but no luck...I have no idea how you should do that... -- Met vriendelijke groet / with kind regards, Guus Sliepen <guus@tinc-vpn.org> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://brouwer.uvt.nl/pipermail/tinc/attachments/20061127/dcf1dd09/attachment.pgp
Guus Sliepen ha scritto:> On Mon, Nov 27, 2006 at 06:26:58PM +0100, EleGoS wrote: > > >>> You have to compile it with MinGW's tools, not with Cygwin's of course! >>> Maybe you installed both Cygwin and MinGW, and Cygwin's bin directory is >>> in your %PATH%? If that is so, remove everything Cygwin related from >>> %PATH% and try to compile it again. >>> >> I've simply installed MinGW-5.1.0 and MSYS :S >> >> Are you saying that MSYS includes Cygwin? >> > > No. > > If you do get a binary that depends on cygwin1.dll, then maybe one of > the libraries you installed depends on it. Make sure you have OpenSSL, > zlib and LZO libraries that are native for Windows, not for Cygwin. > > >> Oh my... must I reinstall it another time? :S >> > > I hope not.I've just recompiled all, starting from OpenSSL, then zlib and eventually LZO... before the program required cygwin1.dll, then after a general remaking it was all OK, no dlls required, but when I gave a copy to one of my friends, a lzo1.dll was required... So I tried several times remaking LZO, also tried LZO2, and now I'm hanging for a reply of my friend... About my configurator: I've just finished the translation code. Now I only must translate it to english, then it will be 100% done :D (I hope that the modified tincd.exe works now) good night