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 Date: Wed, 29 May 2002 08:38:24 +0200 (MEST) From: Stefan Hansen To: cygwin AT cygwin DOT com MIME-Version: 1.0 References: <4 DOT 3 DOT 1 DOT 2 DOT 20020528100521 DOT 025e8130 AT pop DOT ma DOT ultranet DOT com> Subject: Re: windows and cygwin compiled dll ? X-Priority: 3 (Normal) X-Authenticated-Sender: #0001137743 AT gmx DOT net X-Authenticated-IP: [134.28.254.10] Message-ID: <25240.1022654304@www19.gmx.net> X-Flags: 0001 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit > 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. If this librarys are the same, why dlltool ? or are im stupid at all ? I think changing the extension is the wrong way. I think using dlltool is the proper way. OK i can ask my question in an other way. I have created a .dll and an .a file whith cygwin. How can i use this in a MSVC++ source ? (I tried some different way whith some simpl soucrecodes.) Where are the problems during the linking and compiling an how can i solve them. The informations on the cygwin page i found are rare. > As a result, you'll see the > same access violation. The access violation i got in the case of the .a only ! thanks, Stefan Hansen -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net -- 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/