delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/11/01:32:43

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3BC52EEA.3050003@ece.gatech.edu>
Date: Thu, 11 Oct 2001 01:32:26 -0400
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.2) Gecko/20010726 Netscape6/6.1
X-Accept-Language: en-us
MIME-Version: 1.0
To: Mark Mims <MMims AT aegistg DOT com>
CC: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: Re: Problem calling a cygwin-built-DLL from a MSVC-built-app
References: <9B6DCB223668D311BFB900105AD046DD88862A AT viper DOT aegis DOT com>


Mark Mims wrote:

> I'm trying to call a cygwin-built DLL from a MSVC-6.0-built app.
> 
> First question, Is this even possible?  Mumit Khan's dllhelper page has some
> example DLLs that are supposed to be callable from an excel spreadsheet...
> which seems to imply that what I'm trying to do has been done before.
> However, I haven't even been able to get the excel examples to work.  I have
> downloaded the dllhelpers (both 2.2.5 and 2.2.9),


Mumit's "dllhelpers" package never got beyond version 0.2.5.  I have no 
idea where "2.2.5" and "2.2.9" came from.

> and the examples work fine
> for a cywin app calling a cygwin DLL or a vc6 app calling a vc6 DLL, but no
> luck on trying to mix.
> 
> I've found quite a mess of stuff on building cygwin and mingw DLLs from
> Google, but nothing so far seems to work.  I have noticed that things seem
> to have changed considerably when dllwrap was introduced.  
> 
> Can anybody point to examples and/or docs for recent versions of the tools?
> I'm now thinking (grasping) I might just be having versioning problems,
> where I'm trying to use techniques that only worked with older versions of
> gcc, dlltool, dllwrap, etc (?).


The most recent version of dllhelpers (updated to correspond to the 
latest tools) is here:
http://www.neuro.gatech.edu/users/cwilson/cygutils/V1.1/dll-stuff/

However, there's nothing there about calling the DLL from Excel.  I know 
nothing about *that* particular problem.  Note that recent dllhelpers 
(and new binutils) take advantage of special GNU-ld.exe tricks for 
building "auto-import" DLLs.  You'll have to do it the "medium-old" way 
  -- say, dllhelpers-0.2.6 ? -- if you want MSVC and/or MSExcel to 
understand it.  I think.

--Chuck


--
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/

- Raw text -


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