windows and cygwin compiled dll ?

Stefan Hansen Stefan.Hansen@gmx.net
Wed May 29 06:10:00 GMT 2002


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



More information about the Cygwin mailing list