delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/05/20/11:56:20

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
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: <3926B4E7.EEF8B352@village.uunet.be>
Date: Sat, 20 May 2000 17:53:12 +0200
From: J D L <De_Laender-De_Winter AT village DOT uunet DOT be>
X-Mailer: Mozilla 4.72 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
To: "cygwin AT sourceware DOT cygnus DOT com" <cygwin AT sourceware DOT cygnus DOT com>
Subject: DLL's ; Import libs ; def files etc ..

    Hi,

Although I saw a lot of problems on this list that look very like mine,
I didn't find a solution.

I have a database program, distributed as an DLL.
The distribution contains also import libraries for
the Borland compiler and the Microsoft compiler.
On top of that it even contains a .DEF file, however with
following constructs in it :

EXPORTS
    _SQLAllocConnect AT 8
    _SQLAllocConnect = _SQLAllocConnect AT 8

I created a 'cygnus' def file with the usual manipulations out of
the FAQ.

The problem is that my program generates _SQLAllocConnect AT 8 calls,
which are linked correctly with the lib generated via dlltool.

The DLL however seems to expect an _SQLAllocConnect call ...

Now I  'solved' the problem by compiling via assembler and change
all _SQL...@.. calls by _SQL... calss. Which seems to work.

I'm pretty sure that there are better solutions. Someone a hint ?

Thanks

Jos


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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