delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <3E8805AA.9060000@niles.de> |
Date: | Mon, 31 Mar 2003 11:08:58 +0200 |
From: | "Mader, Alexander" <alexander DOT mader AT niles DOT de> |
Organization: | NILES Werkzeugmaschinen GmbH |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.1) Gecko/20020826 |
X-Accept-Language: | de-at, de, en-us, en |
MIME-Version: | 1.0 |
To: | Massimiliano Mirra <mmirra AT libero DOT it> |
Cc: | cygwin AT cygwin DOT com |
Subject: | Re: Building DLLs to be loaded from Visual Basic |
References: | <87pto76fcf DOT fsf AT prism DOT localnet> |
X-Enigmail-Version: | 0.65.2.0 |
X-Enigmail-Supports: | pgp-inline, pgp-mime |
X-Virus-Scanned: | by AMaViS snapshot-20011031 |
Hallo, Massimiliano Mirra schrieb: > My questions: > > - is anybody today successfully building DLLs with cygwin (not > mingw32) and loading them from Visual Basic (or other languages)? I have to provide DLLs for VB and do so by using Cygwin but with -mnocygwin, which is more or less using mingw32. Anyway, I proceed this way in order to limit the library dependencies to native MS ones. > - is documentation about the process available? I have no idea. But I know about some problems regading VB in connection with C _not_ with Cygwin. So, compiling with gcc-2 it is usefull to use -fnative-struct (no more available/nessesary in gcc). Because of the VB- Structure-Conventions it could be nessesary to use -fpack-struct together with dummy elements in the structure in question. The solution to problems like this I found in the MS database. Hope this helps, Alexander. -- Alexander Mader <alexander DOT mader AT niles DOT de> Fon: +49-30-93033-636 NILES Werkzeugmaschinen GmbH Fax: +49-30-93033-603 www.niles.de -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |