Click to Rate and Give Feedback
MSDN
MSDN Library
User Interface
Resource Compiler
 Comments
Comments

RC supports C-style syntax for both single-line comments and block comments. Single-line comments begin with two forward slashes (//) and run to the end of the line. The following is an example of a resource statement followed by a single-line comment.

NewCursor  CURSOR  NEW.CUR  // a new cursor for the application.

Block comments begin with an opening delimiter (/*) and run to a closing delimiter (*/). Comments do not nest. The following is an example of a block comment at the beginning of a .rc file.

/* 
    Resources.Rc

    Contains the resource definitions for the application.
    Control identifiers are defined in Resources.h.
*/

#include "resources.h"
//...

Send comments about this topic to Microsoft

Build date: 7/30/2009

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2010 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker