Dec 052017
 
Windows 3.1 example code to extract and decode resources and tables for executable of library files.
File EXEVIEW.ZIP from The Programmer’s Corner in
Category C Source Code
Windows 3.1 example code to extract and decode resources and tables for executable of library files.
File Name File Size Zip Size Zip Type
BMP.C 8101 2146 deflated
EXEHDR.C 21086 3738 deflated
EXEHDR.H 8796 2625 deflated
EXEVIEW.DOC 1420 673 deflated
EXEVIEW.LNK 139 93 deflated
EXEVIEW.TXT 1581 767 deflated
FILLLB.C 22544 3483 deflated
GLOBAL.H 1850 699 deflated
ICONCUR.C 20648 2974 deflated
INIT.C 4722 1175 deflated
LEGAL.TXT 1889 916 deflated
MAIN.C 14804 3024 deflated
MAIN.DEF 665 323 deflated
MAIN.ICO 766 216 deflated
MAIN.RC 1675 718 deflated
MAKEFILE 577 319 deflated
MENUDLG.C 3708 1094 deflated
RES.C 27463 3953 deflated
RES.H 5013 1373 deflated

Download File EXEVIEW.ZIP Here

Contents of the EXEVIEW.DOC file


Summary:

Often applications wish to extract information from an executable
file without the application being loaded. The Windows Program Manager
does this when it extracts an icon from the .EXE to represent the
application. There are many other resources and tables in an EXE file
(or a DLL) that may be useful to certain applications. The EXEVIEW
sample demonstrates how to extract and decode these resources and tables
for executable or library files (FONTS and DRVs qualify as DLLs).

More Information:

The EXEVIEW sample uses the Old and New Header formats has documented
in the Microsoft MS-DOS Encyclopedia. EXEVIEW loads these headers and the
associated tables that are pointed at by these headers. The include the
Entry Table, the Segment Table, the Resource Table, the Resident and
Non-Resident name tables as well as the Imported Name tables. In addition
to loading these tables, EXEVIEW will also load the resources that can
be found in the resource table. If the resource can be displayed
graphically (Icons, cursors, bitmaps, menus, etc...) then it is. For
string tables and directories (Icon, cursor, font, etc...) the resources
are listed in a text format.

For more information on the file formats and resource formats see
the MS-DOS Encyclopedia, The September 1991 Microsoft Systems Journal
or the Microsoft Open Tools documentation.


 December 5, 2017  Add comments

Leave a Reply