X-Spam-Check-By: sourceware.org Date: Tue, 14 Feb 2006 13:13:44 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: How Can I Use the FtpCommand Function with Cygwin? Message-ID: <20060214181344.GC21264@trixie.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com References: <01d201c63191$79f2ebe0$a501a8c0 AT CAM DOT ARTIMI DOT COM> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <01d201c63191$79f2ebe0$a501a8c0@CAM.ARTIMI.COM> User-Agent: Mutt/1.5.11 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 Tue, Feb 14, 2006 at 06:07:11PM -0000, Dave Korn wrote: >On 14 February 2006 17:35, Tischler, Ron wrote: >>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." Actually, it's "But I don't want to change them because that's too complicated. Please engage me in a days-long back and forth email discussion so that I can avoid this complication and painstakingly figure out how to avoid changing my makefiles." > Indeed. cgf -- 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/