delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com> |
List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, |
<http://sourceware.cygnus.com/ml/#faqs> | |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
Message-Id: | <199907310526.AAA02443@mercury.xraylith.wisc.edu> |
To: | Jonathan Wilson <wilsonj AT xoommail DOT com> |
cc: | "cygwin AT sourceware DOT cygnus DOT com" <cygwin AT sourceware DOT cygnus DOT com> |
Subject: | Re: can you export a c++ class from a cygwin32/mingw32 dll? |
In-Reply-To: | Your message of "Sat, 31 Jul 1999 10:23:40 +0800." |
<37A25E2C DOT 5EFB5163 AT xoommail DOT com> | |
Date: | Sat, 31 Jul 1999 00:26:53 -0500 |
From: | Mumit Khan <khan AT xraylith DOT wisc DOT EDU> |
Jonathan Wilson <wilsonj AT xoommail DOT com> writes: > can you export a c++ class from a cygwin32/mingw32 dll? > how do you do it? What have you done/tried? > i have an existing dll that exports a c++ class... can i use that from > cygwin32? the dll was writem in ms vc++ and i also have a matching > borland c++ dll. i do have the source but i am unsure as to how it would > compile in cygwin32... If you're using my compiler distribution(s), which you should if you're using C++, then the following works just fine: class __declspec(dllexport) foo { // .... }; The next release, gcc-2.95, should be better in this respect. http://www.xraylith.wisc.edu/~khan/software/gnu-win32/ for more info. 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 |