Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!rpi!clarkson!grape.ecs.clarkson.edu!towfiq From: towfiq@FTP.COM (Mark Towfiq) Newsgroups: comp.os.os2.programmer Subject: Re: Library Utility Message-ID: Date: 24 May 91 18:22:56 GMT References: <1991May22.154137.7871@terminator.cc.umich.edu> Sender: usenet@grape.ecs.clarkson.edu Reply-To: towfiq@FTP.COM Distribution: na Organization: FTP Software, Inc., Wakefield, MA Lines: 22 In-Reply-To: jwh@bodwin.ifs.umich.edu's message of 22 May 91 15:41:37 GMT >>>>> On 22 May 91 15:41:37 GMT, jwh@bodwin.ifs.umich.edu (Jim Howe) said: Jim> Is there a utility available which will list the contents of a Jim> .LIB file showing the ordinal number of each function and the DLL Jim> where the function is found? Two things: 1) why do you feel you need the ordinal number, instead of just the name? (I have only found a very limited set of cases where this is true.) 2) I would recommend using the EXEHDR utility, which is bundled with both Microsoft C 6.0 and the PM SDK. Then you just type "exehdr " and get a listing of all kinds of relevent information. Alternatively, you can use the information provided in the header file to read in the DLL yourself. Hope this helps, Mark -- Mark Towfiq towfiq@FTP.COM Work: +1 617 246 0900 Home: +1 617 488 2818 FTP Software, Wakefield, MA 51 Harvard Avenue, West Medford, MA 02155 "The Earth is but One Country, and Mankind its Citizens" -- Baha'u'llah