From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19088 invoked by alias); 28 May 2002 15:12:55 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 19076 invoked from network); 28 May 2002 15:12:52 -0000 Received: from unknown (HELO ligarius-fe0.ultra.net) (146.115.8.189) by sources.redhat.com with SMTP; 28 May 2002 15:12:52 -0000 Received: from enterprise-e.rfk.com (207-172-97-202.s456.apx1.sbo.ma.dialup.rcn.com [207.172.97.202]) by ligarius-fe0.ultra.net (8.8.8/ult/n26500/mtc.v2) with ESMTP id KAA02623; Tue, 28 May 2002 10:14:16 -0400 (EDT) Message-Id: <4.3.1.2.20020528100521.025e8130@pop.ma.ultranet.com> X-Sender: lhall@pop.ma.ultranet.com Date: Tue, 28 May 2002 11:10:00 -0000 To: Stefan Hansen From: "Larry Hall (RFK Partners, Inc)" Subject: Re: windows and cygwin compiled dll ? Cc: cygwin@cygwin.com In-Reply-To: <12056.1022593972@www21.gmx.net> References: <4.3.1.2.20020528092349.0260bb80@pop.ma.ultranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-SW-Source: 2002-05/txt/msg01698.txt.bz2 At 09:52 AM 5/28/2002, Stefan Hansen wrote: > > At 07:32 AM 5/28/2002, Stefan Hansen wrote: > > >Hi there, > > > > > >I want to add a, dll which I compiled under cygwin, to my MSVC++ project. > > >If I am correct I need a lib file of this dll. How can I create this lib > > >file ? > > > > > > Why not just use the Cygwin .a import library? > >Linking whith .a (which i copy to .lib) is no problem. But during the >execution i got an Access Violation. Then it's unlikely that creating a .lib instead will help you. The .lib will be the same import library as the .a. As a result, you'll see the same access violation. If you really want to understand what's causing this problem, you'll want to debug it. I'll point out as well that there are messages in the email archives that discuss some of the issues and pitfalls of adding gcc-generated DLLs to MSVC EXEs. There can be subtle problems with this. You may want to review the email archives to see if any of these previous discussions are pertinent to your case. BTW, I redirected the discussion back to the list, since this is worthwhile information for the email archives. Larry Hall lhall@rfk.com RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/