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 To: cygwin AT cygwin DOT com X-Injected-Via-Gmane: http://gmane.org/ Path: not-for-mail From: "Hans Horn" Subject: Re: .dll.a, .dll files and other questions Date: Fri, 6 Dec 2002 08:40:31 -0800 Lines: 30 Message-ID: References: <20021206013213 DOT GA5383 AT redhat DOT com> <20021206153831 DOT GB20109 AT redhat DOT 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 AT main DOT gmane DOT 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/