Cannot Bind .RES File Directly to .EXE Without Linking

Last reviewed: January 15, 1998
Article ID: Q160037

The information in this article applies to:
  • Microsoft Windows Software Development Kit (SDK) version 3.1
  • Microsoft Win32 Application Programming Interface included with: - Microsoft Windows NT version 3.51 - Microsoft Windows 95 version 4.0 - Microsoft Win32s version 1.3
  • Microsoft Win32 Software Development Kit for: - Microsoft Windows NT version 3.51 - Microsoft Windows 95 version 4.0

SUMMARY

In a 16-bit Windows application, .RES file can bind directly to the .EXE file by RC.EXE. In the 32-bit Windows application, this is no longer possible. With Visual C++ 4.2, the linker is needed to link the compiled .RES file to the .EXE file. Also, all of the .obj and .lib files are needed for the link.

MORE INFORMATION

If you want to change the resources in an .EXE file directly without any of the .obj and .lib files, you can use Microsoft Visual C++ 4.2 Developer Studio. You can open an .EXE file in Developer Studio, modify the resources in the resource editor, and then save it back.

Keywords          : KBIntlDev kbprg kbhowto
Version           : 3.1
Platform          : WINDOWS
Issue type        : kbhowto


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: January 15, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.