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

2.5 Incorporating Objective Chart into Your Application

Once the libraries are built, you are ready to start using Objective Chart classes in your own applications. To add Objective Chart to an existing application:

  1. Load your project into Visual Studio.

  2. Add required header files.

  3. Open the View|Resource Includes dialog and add this line to the end of the list of Compile-time directives:

  4. If support for the Chart Wizard is desired, add:

  5. Add a combination of _DEBUG, _UNICODE, _AFXDLL, and _OBJCHART_DLL to the Preprocessor Definitions edit box on the Project Settings|C/C++ tab. (Note: _AFXDLL and _DEBUG may be automatically defined by other project settings). This change automatically causes the correct variant of the Objective Chart library to be included in your project.

  6. For Visual Studio 2010, please refer to Section 2.7.4, "Microsoft Visual Studio 2010 Changes," in the Stingray Studio Getting Started Guide to add property sheet(s) with Stingray Studio paths to the project.

  7. Start using Objective Chart.

Chapter 4, "Fast Start With Objective Chart," describes these steps in more detail.

When creating a new project, the Objective Chart App Wizard can perform these steps (and much more) for you. See Chapter 14 for more information.

2.5.1 Linking to the Objective Chart Library as a DLL

Add the symbol _OBJCHART_DLL in the Preprocessor Definitions edit box on the Project Settings | C/C++ tab.

2.5.2 Including Unicode Support

  1. Select one or more of the Unicode configurations when you build the Objective Chart libraries.

  2. Select "Use Unicode Character Set" for your build configuration on the project's Property Pages, Configuration Properties\General\Character Set.



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.