From: Pascal DOT Trouvin AT integralis DOT co DOT uk Subject: Building-dll doc file 27 Jan 1997 04:47:28 -0800 Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <01IEPG0VFHB60035PV.cygnus.gnu-win32@INTEGD.INTEGRALIS.CO.UK> Mime-Version: 1.0 Content-Type: TEXT/PLAIN Original-To: gnu-win32 AT cygnus DOT com Original-Sender: owner-gnu-win32 AT cygnus DOT com Hi, I've got b17 and try to build a dll as described in building-dlls document, but it compiles successfully, but the excution of main.exe fails with the message 'can not execute foo.dll, check it for details'? Does any of you have an idea. Note: I have add '--dll' in the ld command dlltool --def foo.def --output-exp foo.exp --output-lib foo.a --dllname foo.dll gcc -c foo.c gcc -c foo2.c ld --dll -o foo.dll foo.exp foo.o foo2.o gcc main.c foo.a -o main.exe pascal ________________________________________________________ MIMEsweeper has scanned this message and its attachments and found it to be free of all known viruses. info AT Integralis DOT com http://www.integralis.com Innovation, Integration, Integralis ________________________________________________________ - For help on using this list, send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".