Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
To: cygwin@cygwin.com
X-Injected-Via-Gmane: http://gmane.org/
Path: not-for-mail
From: "Hans Horn" <hannes@2horns.com>
Subject: Re: .dll.a, .dll files and other questions
Date: Fri, 6 Dec 2002 08:40:31 -0800
Lines: 30
Message-ID: <asqjtj$8l5$1@main.gmane.org>
References: <20021206013213.GA5383@redhat.com> <PCEJJPDHEECNEKDDLPNLOEHGCAAA.ssmith@magnet.fsu.edu> <20021206153831.GB20109@redhat.com>
NNTP-Posting-Host: dsl-64-130-141-77.telocity.com
X-Trace: main.gmane.org 1039192820 8869 64.130.141.77 (6 Dec 2002 16:40:20 GMT)
X-Complaints-To: usenet@main.gmane.org
NNTP-Posting-Date: Fri, 6 Dec 2002 16:40:20 +0000 (UTC)
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1123
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1123

Chris,

thanks a lot!
http://cygwin.com/cygwin-ug-net/dll.html seems to be indeed up-to-date!

However, I strongly recommend to wipe or update related sections on
http://cygwin.com/docs.html, just to avoid future confusions!

Now that we straightened that one out, we can get to more interesting
questions.

I want to build an dll that uses Win32 global hooks.
With the dll built under MS Visual Studio, I use dlltool on it to create a
.dll.a from it and link it with my app under cygwin, everything works!

When I build the dll directly under cygwin (what I really want to do, as I
don't have VisualStudio!) using the instructions from
http://cygwin.com/cygwin-ug-net/dll.html,
and link it with my app, it does NOT work!

Are there any restrictions under cygwin about the kinds of dlls that can be
built?

H.









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

