delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/06/15/18:49:56

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <41FBEBB67B309B4091A19709617C3BF4487B@TRITON.corp.iapetus.com>
From: Michael Nelson <mikenel AT iapetus DOT com>
To: "'Carl Thompson'" <cet AT carlthompson DOT net>,
Bradley Smith
<brad2010 AT hotmail DOT com>
Cc: Cygwin List <cygwin AT sourceware DOT cygnus DOT com>
Subject: RE: Where can I get Cygwin 20.1b?
Date: Thu, 15 Jun 2000 18:52:06 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
X-OriginalArrivalTime: 15 Jun 2000 22:51:56.0809 (UTC) FILETIME=[4EA3FF90:01BFD71C]

> That's a complicated question.  Essentially, the MS engineers 
> were on crack
> when they designed Windows DLLs. 
> 
> [long discussion]

Use of dllimport is unnecessary, just link with the import lib.

> PPS: I've heard you can do the same thing using separate 
> ".DEF" files, 
>      but I don't know about that.

This is what most people do. 

> PPPS: None of this is necessary with reasonable operating 
> systems, such
>       as Unix or Linux.  The compiler and linker automatically export
>       and import all externally visible symbols when building or using
>       DLLs (shared libraries).  You don't even need a separate import
>       library.

The drawback with "reasonable" operating systems is that all of your
internal guts are exposed to the world. For some that is a disadvantage. 

-mike

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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