Extracting information from LIB files: Difference between revisions
Appearance
No edit summary |
|||
Line 1: | Line 1: | ||
The IBM OS/2 Warp Toolkit | The IBM OS/2 Warp Toolkit includes several import library (LIB) files. This is some quick tutorial on how to get information from this files. | ||
==Using LIB.EXE== | ==Using LIB.EXE== | ||
LIB.EXE is | The Microsoft Library Manager (LIB.EXE) is contained in [http://hobbes.nmsu.edu/h-search.php?key=c7os2.zip c7os2.zip]. | ||
To get some information on what | To get some information on what [[OS2386.LIB]] contains you can call: | ||
:<tt>lib.exe os2386.lib,os2386.lst</tt> | |||
It will generate the os2386.lst text file with something similar to: | It will generate the os2386.lst text file with something similar to: | ||
DDF32BEGINLIST....DDF32BEGINLIST DDF32BITMAP.......DDF32BITMAP | DDF32BEGINLIST....DDF32BEGINLIST DDF32BITMAP.......DDF32BITMAP | ||
DDF32ENDLIST......DDF32ENDLIST DDF32HYPERTEXT....DDF32HYPERTEXT | DDF32ENDLIST......DDF32ENDLIST DDF32HYPERTEXT....DDF32HYPERTEXT | ||
... | ... | ||
==Using EMXIMP.EXE== | ==Using EMXIMP.EXE== | ||
There is also a way to get information from a | There is also a way to get information from a import library file using EMXIMP.EXE ([http://hobbes.nmsu.edu/download/pub/os2/dev/emx/v0.9d/emxdev1.zip emxdev1.zip]): | ||
:<tt>emximp -o os2386.imp os2386.lib</tt> | |||
It will generate something like: | |||
; | ; | ||
; os2386.imp (created by emximp) | ; os2386.imp (created by emximp) | ||
Line 36: | Line 26: | ||
DosForceDelete DOSCALLS 110 ? | DosForceDelete DOSCALLS 110 ? | ||
Dos32ForceDelete DOSCALLS 110 ? | Dos32ForceDelete DOSCALLS 110 ? | ||
... | |||
... | |||
Revision as of 17:27, 28 September 2016
The IBM OS/2 Warp Toolkit includes several import library (LIB) files. This is some quick tutorial on how to get information from this files.
Using LIB.EXE
The Microsoft Library Manager (LIB.EXE) is contained in c7os2.zip.
To get some information on what OS2386.LIB contains you can call:
- lib.exe os2386.lib,os2386.lst
It will generate the os2386.lst text file with something similar to:
DDF32BEGINLIST....DDF32BEGINLIST DDF32BITMAP.......DDF32BITMAP DDF32ENDLIST......DDF32ENDLIST DDF32HYPERTEXT....DDF32HYPERTEXT ...
Using EMXIMP.EXE
There is also a way to get information from a import library file using EMXIMP.EXE (emxdev1.zip):
- emximp -o os2386.imp os2386.lib
It will generate something like:
; ; os2386.imp (created by emximp) ; ; -------- os2386.lib -------- DOSPTRACE DOSCALLS 12 ? DOSISETRELMAXFH DOSCALLS 108 ? DOSIDEVIOCTL DOSCALLS 109 ? DosForceDelete DOSCALLS 110 ? Dos32ForceDelete DOSCALLS 110 ? ...