delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/02/15/09:09:50

X-Spam-Check-By: sourceware.org
Message-ID: <43F33622.5080303@byu.net>
Date: Wed, 15 Feb 2006 07:09:38 -0700
From: Eric Blake <ebb9 AT byu DOT net>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
MIME-Version: 1.0
To: "Tischler, Ron" <ron DOT tischler AT hp DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: How Can I Use the FtpCommand Function with Cygwin?
References: <F24E92B4B6EF5840AD7C101F6D1BA8DD03F27711 AT cacexc05 DOT americas DOT cpqcorp DOT net>
In-Reply-To: <F24E92B4B6EF5840AD7C101F6D1BA8DD03F27711@cacexc05.americas.cpqcorp.net>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019