This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How Can I Use the FtpCommand Function with Cygwin?


-----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@byu.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]