X-Spam-Check-By: sourceware.org Message-ID: <43F33622.5080303@byu.net> Date: Wed, 15 Feb 2006 07:09:38 -0700 From: Eric Blake User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) MIME-Version: 1.0 To: "Tischler, Ron" CC: cygwin AT cygwin DOT com Subject: Re: How Can I Use the FtpCommand Function with Cygwin? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Tischler, Ron on 2/14/2006 10:35 AM: > Thanks for your reply, but the makefiles that I'm using do use .lib > files, and things are following PC rather than unix conventions, and I > am already getting wininet.lib, because other stuff that is working > comes from there. So, I believe the answer is that wininet.lib is just > out of date on my PC, because FtpCommand is relatively new. There are > two approaches that I'm going to try, although I haven't tried either > yet. Have you not read the recent thread on _kbhit? Explicitly using a Windows-provided function in cygwin is counterproductive, since the point of cygwin is POSIX compliant and POSIX doesn't provide windows functions. The rest of this thread details tricks that may make it possible to use FtpCommand, but if you are truly trying to write a portable app that also works on unix, then when compiling for Cygwin you should use Unix conventions and not Windows functions. If you want to use Windows conventions, then investigate mingw. - -- Life is short - so eat dessert first! Eric Blake ebb9 AT byu DOT net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFD8zYh84KuGfSFAYARAg5YAJ9BFfxWCS/wBzIcxMtG6xJeEz01nwCghWZ4 AnUubESwX+8SLMsYfaUsCDQ= =1Cwl -----END PGP SIGNATURE----- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/