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 X-Info: This message was accepted for relay by smtp03.mrf.mail.rcn.net as the sender used SMTP authentication X-Trace: UmFuZG9tSVb6EXUeKia5GSYcek/AT3mLgPvbqR3wfFSnHgBUzRVW9xh7T6q1C5VU Message-ID: <3F298DF3.4030504@cygwin.com> Date: Thu, 31 Jul 2003 17:45:23 -0400 From: Larry Hall Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-1?Q?J=E9r=F4me_DESPATIS?= CC: cygwin AT cygwin DOT com Subject: Re: using a dll created by cygwin in msvc++ References: <20030731211812 DOT 70424 DOT qmail AT web11701 DOT mail DOT yahoo DOT com> In-Reply-To: <20030731211812.70424.qmail@web11701.mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Jérôme DESPATIS wrote: > Re > > So you say Larry that i need an import library > (foo.lib) to link against in msvc++. > I think so also. > > My problem is now to create this .lib. > Indeed, in the bottom of the link > http://cygwin.com/cygwin-ug-net/dll.html, it's > explained to create a .def file and .a file, but not a > .lib file that i need in msvc++ The .a you made with the above is an import file. Try it. It's easier than creating the .lib. But if you have to, check out lib.exe that comes with VC++. You can create an import library with this too. > In fact i don't need a Cygwin-compatible import > library but a MSVC++ -compatible import library, > because i want to compile my prog with msvc++ > > (if you ask me why, the simple program is in fact a qt > program, and trolltech proposes only compilation with > borland C++ and msvc++ which both use .lib import > library) > > maybe there's some docs in the mailing liste archive, > but i have great great difficulties with the search > engine http://cygwin.com/ml/cygwin/ You're better off with google and just pointing at 'cygwin.com' for better or worse. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 ################################################################# ################################################################# ################################################################# ##### ##### ##### ################################################################# ################################################################# ################################################################# -- 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/