delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com> |
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: | <199909111936.OAA10272@pluto.xraylith.wisc.edu> |
To: | Vincent Penne <vincent DOT penne AT wanadoo DOT fr> |
cc: | cygwin AT sourceware DOT cygnus DOT com |
Subject: | Re: C++ libraries and DLL |
In-Reply-To: | Your message of "Sat, 11 Sep 1999 22:33:02 +0200." |
<37DABC7E DOT 5E83 AT wanadoo DOT fr> | |
Date: | Sat, 11 Sep 1999 14:36:52 -0500 |
From: | Mumit Khan <khan AT xraylith DOT wisc DOT EDU> |
Vincent Penne <vincent DOT penne AT wanadoo DOT fr> writes: > Hi ! > I come to a problem that must be frequently asked, but for whichI > haven't found any positive answer in the list archive. > I have read the very good explanations of Fergus Henderson on how to > make DLLs with Cygwin. > The problem now is that this works fine with C, but certainly not with > C++ when one want to access some static members of class (for example). > Is there any way to do that ? Is it windoz DLL loader's fault, that > relocate only function calls and not variables pointers ? What is the > difference between relocating a function call and relocating a variable > pointer ? > Thanks in advance if you can enlight me on these points ! Fergus' description of building DLL is somewhat outdated now; you should read http://www.xraylith.wisc.edu/~khan/software/gnu-win32/#dllhelpers and get the examples in the package. It's an issue with how Windows DLLs work, and not trivial to get it right the first time! Regards, Mumit -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |