delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/05/29/02:39:09

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <Stefan DOT Hansen AT gmx DOT net>
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

> 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019