Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Objective Grid User's Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

9.6 Include Objective Grid Resources in DlgGrid

Including the Objective Grid resource header file in your application's resource script gives your application access to the Objective Grid Resources. When linking statically to the Objective Grid libraries, it is also necessary to include the Objective Grid resource script. The following steps demonstrate how to add the Objective Grid resource files to your project.

  1. Open the Resource View in Microsoft Visual Studio (View|Resource View).

  2. Select the root of the Resource View tree (DlgGrid.rc) and click with the right button on your mouse.

  3. A context menu pops up.

    Figure 111: Visual Studio Resource View

  4. Choose Resource Includes.

  5. The Resource Includes dialog box appears.

    Figure 112: Visual Studio Resource Includes dialog

  6. Add the following line to the Read-only symbol directives box.

  7. Add the following line to the end of the Compile-time directives box.


    Skip this step if your application is linking to Objective Grid as a shared library (DLL). Including the following file will not upset the function of your application, but it will cause unnecessary bloat to the final application file size. The Objective Grid resources are already included in Objective Grid DLLs and therefore do not need to be included in the application.

  8. Click OK.

  9. A message box pops up warning you that the "Directive text will be written into your resource script and may render it uncompilable." This is fine. You can safely choose OK.

  10. Save DlgGrid.rc (press Ctrl-S).



Previous fileTop of DocumentContentsNo linkNext file

Copyright © Rogue Wave Software, Inc. All Rights Reserved.

The Rogue Wave name and logo, and Stingray, are registered trademarks of Rogue Wave Software. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.