Microsoft KB Archive/67708

INF: Accessing Resources from a Windows Executable File

PSS ID Number: Q67708 Article last modified on 04-26-1993

3.00 WINDOWS

Summary: To get the ID values of resources from the header of a Windows executable (EXE) file, it is necessary to know about both the old and new EXE file header formats. For more information about the EXE file header formats, see the “MS-DOS Encyclopedia,” published by Microsoft Press. The data format for the individual resources in an EXE file is provided in a document on “Open Tools,” which is currently available from Microsoft. For more information, query on the following words: Prod(winsdk) and Open and Tools and Relations

More Information: The Software Library contains the sources for a sample program that demonstrates how to retrieve the ID value and offset for any resource in an executable or dynamic-link library (DLL) file. DUMPRES is a DOS (non-Windows) application that retrieves the data from the Windows application and displays it on the screen. DUMPRES can be found in the Software/Data Library by searching on the keyword DUMPRES, the Q number of this article, or S12847. DUMPRES was archived using the PKware file-compression utility.

Additional reference words: 3.0 KBCategory: KBSubcategory: UsrRscFromExe Copyright Microsoft Corporation 1993.