Creating a New Custom or Data Resource

Home Page (Binary Editor)OverviewHow Do I ... Topics

You can create a new custom or data resource by placing the resource in a separate file using normal resource script (.rc) file syntax, and then including the file with the Resource Includes command on the View menu.

To create a new custom or data resource

  1. Create an .rc file that contains the custom or data resource.

    You can type custom data in an .rc file as null-terminated quoted strings, or as integers in decimal, hexadecimal, or octal format. For more information, see the Win32 Software Development Kit documentation.

  2. From the View menu, choose Resource Includes.

  3. In the Compile-Time Directives box, type a #include statement that gives the name of the file containing your custom resource. For example:

    #include mydata.rc
    

    Make sure the syntax and spelling of what you type are correct. The contents of the Compile-Time Directives box are inserted into the resource script file exactly as you typed them.

  4. Click OK to record your changes.