From: calder AT stat DOT colostate DOT edu (Matt Calder) Subject: Re: problems linking formats. 27 Mar 1997 22:00:48 -0800 Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Authentication-Warning: tlaloc.stat.colostate.edu: calder owned process doing -bs X-Sender: calder AT tlaloc Original-To: gnu-win32 AT cygnus DOT com In-Reply-To: <199703260336.TAA02337@rtl.cygnus.com> Original-Sender: owner-gnu-win32 AT cygnus DOT com gnu list, Sorry to branch off on this thread, but if someone who can answer this has a minute I'd really appreciate it. There has been much discussion on this thread about various object file formats, I do a lot of work with a statistical package (Splus), that allows one to load user code via object files or dlls. The object files however must have been produced by the Watcom compiler. If one tries to load object files produced by MSVC it complains that the object file is not Intel-OMF. What I want to know is what object file formats the various PC compilers use, Borand, MSVC, Watcom, etc..., Is it possible to convert from one to another?, Is there freely available documentation on these formats? On a side note, a question that is perhaps of a more general interest. If I am unable to load object files, I must write dll's. I would like to use the gnu32 compiler. The Splus package however, only allows loading of 16-bit dlls. I have code written for 16->32 bit calls via generic thunking (as described in MS Knowledge Base) that works with 32-bit dlls compiled by Borland and MSVC. When I use a dll compiled with gnu32 (based on the excellent and much appreciated examples on the cygnus web site) the call to LoadLibraryEx32() fails. In my experience this is due to auxilliary dlls not being found, however everthing is in the path as near as I can tell. Has anyone successfully loaded a gnu32 compiled dll via the LoadLibraryEx32() call? Is there any way to determine what goes wrong when this call fails (recall, it is called from a 16-bit dll, no GetLastError()) ? Thanks, Matt /*****************************************/ /* Matt Calder, Dept. of Statistics, CSU */ /* http://www.stat.colostate.edu/~calder */ /*****************************************/ - For help on using this list, send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".