Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 X-Mailer: Mozilla 4.72 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: "cygwin AT sourceware DOT cygnus DOT com" Subject: DLL's ; Import libs ; def files etc .. Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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