From: j-cerney1 AT ti DOT com (John Cerney) Subject: re: HELP, cygn. Can't call MS dll 16 Apr 1997 17:45:26 -0700 Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: Reply-To: John Cerney Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Mailer: BeyondMail for Windows/Professional 2.3 Original-To: helmut AT isv-gmbh DOT de (Helmut Ruholl) X-BeyondMail-Priority: 1 Conversation-ID: In-Reply-To: Original-Cc: gnu-win32 AT cygnus DOT com X-Receipt-From-Agent: true Original-Sender: owner-gnu-win32 AT cygnus DOT com > John, > > have done your relocatable dll example (building-reloc-dll.txt) based on > W95. > It works. > But it's necessary to call dll's which aren't build by gcc. > > Steps: > 1. building a '.a' File from an '.lib' File with dbtool > dbtool --as=as -dllname mslib.dll ... --output-lib xxx.a I assume by 'dbtool' you mean 'dlltool'? This above step won't work. dlltool won't make a proper '.a' file from a '.lib' or a '.dll' file. It only will make an '.a' file from a '.def' file, which contains a list of exported names from the dll. Ismael Jurado (ismaelj.hotmail.com) just posted a program that will make def files from dlls last sat april 12. > -other stuff snipped -- - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".