X-Spam-Check-By: sourceware.org From: "Dave Korn" To: Subject: RE: How Can I Use the FtpCommand Function with Cygwin? Date: Tue, 14 Feb 2006 18:07:11 -0000 Message-ID: <01d201c63191$79f2ebe0$a501a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: 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 On 14 February 2006 17:35, Tischler, Ron wrote: > -----Original Message----- > From: cygwin-owner On Behalf Of Brian Dessent > Sent: Monday, February 13, 2006 8:01 PM > "Tischler, Ron" wrote: > >> I am trying to use Cygwin to write a PC application that calls the >> function named FtpCommand. Microsoft documentation that I found >> online says that there is a header named wininet.h and a library named >> wininet.lib to link in. On my PC, under the Cygwin stuff, I see >> wininet.h, but not wininet.lib. > Cygwin does not use .lib files, and the naming of libraries is that of > unix. So you use -lfoo to link with libfoo.a (or sometimes > libfoo.dll.a) which is the import library for the DLL. > 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. "My makefiles are using the wrong input files" "Well, get them to use the correct input files" "But I don't want to change them. Tell me how to use the wrong files instead." cheers, DaveK -- Can't think of a witty .sigline today.... -- 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/