Microsoft KB Archive/99162

= INFO: COMMON.RES Provides Common Bitmaps, Cursors, and Icons =

Article ID: 99162

Article Last Modified on 12/11/2003

-

APPLIES TO

 The App Studio, when used with:  Microsoft Visual C++ 1.0 Professional Edition

 Microsoft Visual C++ 1.5 Professional Edition

 Microsoft Visual C++ 1.51

 Microsoft Visual C++ 1.52 Professional Edition</li></ul>

 Microsoft Visual C++ 1.0 Professional Edition</li></ul>

 Microsoft Visual C++ 2.0 Professional Edition</li></ul>

 Microsoft Visual C++ 2.1</li></ul>

 Microsoft Visual C++ 4.0 Standard Edition</li></ul>

 Microsoft Visual C++ 5.0 Standard Edition</li></ul>

 Microsoft Visual C++ 6.0 Service Pack 5</li></ul> </li></ul>

-

<div class="notice_section">

This article was previously published under Q99162

<div class="notice_section">

<div class="summary_section">

SUMMARY
All versions of Microsoft Visual C++ include a COMMON.RES file. This file contains many common bitmaps, cursors, and icons that may be used &quot;as is&quot; with applications developed in Visual C++. The following table lists the default location of this file, be it on the installation drive, one of the distribution CDs, or one the MSDN Library CDs, for each version of Visual C++:

To view the various resources, simply open the COMMON.RES file in App Studio, or Developer Studio. You may copy these resources directly into an application's resource file. Please refer to Technical Note 23, Standard MFC Resources, in the MFC Tech Notes help file for more information about using COMMON.RES.

In addition, Visual C++, 32-bit Edition, versions 2.0 and above include a COMMON.RC file and several other icons, cursors and bitmaps for general use. By default, these can be found in the same directory as the version's corresponding COMMON.RES file. The Visual C++ Books Online document the use of these resources in the &quot;CLIPART: Common Resources&quot; article of the &quot;General MFC Samples.&quot; For more information, search the Books Online for &quot;CLIPART.&quot;

With App Studio and Developer Studio, you can view resources in many types of files including dynamic-link libraries (DLLs), executable (.EXE) files, compiled resource (.RES) files, and .BMP, .CUR, .DIB, .ICO, and .RC files. You can copy these resources into your own application and use them as appropriate.

Keywords: kbinfo KB99162

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.