delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/10/09:33:34

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: <9B6DCB223668D311BFB900105AD046DD88862A@viper.aegis.com>
From: Mark Mims <MMims AT aegistg DOT com>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: Problem calling a cygwin-built-DLL from a MSVC-built-app
Date: Wed, 10 Oct 2001 08:29:29 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)

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), 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 (?).

I'm using:
Cygwin 1.3.3 (see below) with
binutils-20010914-2
gcc-2.95.3-5

Thanks in advance,
Mark Mims
mmims AT aegistg DOT com


------8<----------

  701k 2001/09/13 d:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2001/9/12 22:54
    Cygwin DLL version info:
        dll major: 1003
        dll minor: 3
        dll epoch: 19
        dll bad signal mask: 19005
        dll old termios: 5
        dll malloc env: 28
        api major: 0
        api minor: 46
        shared data: 3
        dll identifier: cygwin1
        mount registry: 2
        cygnus registry name: Cygnus Solutions
        cygwin registry name: Cygwin
        program options name: Program Options
        cygwin mount registry name: mounts v2
        cygdrive flags: cygdrive flags
        cygdrive prefix: cygdrive prefix
        cygdrive default prefix: 
        build date: Wed Sep 12 23:54:31 EDT 2001
        shared id: cygwin1S3

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