To test release versions of your Visual C++ applications with Rogue Wave Stingray Objective grid (C++) controls, we recommend that you rebuild the Objective Grid library to generate the required debug information.
These steps are required only for testing Objective Grid (C++) controls in Release configurations of Visual C++ applications. Testing Debug configurations does not require this setup. |
-
From the Start menu, launch Rogue Wave | Stingray Studio <version> | Objective Grid | Grid Build Wizard. Follow the wizard instructions to customize the Objective Grid library to your needs.
The wizard will generate a makefile for building the Objective Grid library.
-
In the <Stingray Studio>\Src\Grid\BkEndMak folder, locate the makefile named bldbackNN.mak, where NN corresponds to the Microsoft Visual Studio version used to develop the tested application. For example, the makefile to be used with Visual Studio 2010 (v. 10.0) is bldback10.mak.
-
Open the makefile in a text editor.
-
Find all lines containing the following text:
RELDBG_CPP=/D "NDEBUG" /O1
Replace them with:
RELDBG_CPP=/D "NDEBUG" /O1 /Zi /Fd<Path_Name>.pdb
The /Zi parameter instructs the compiler to generate debug information for the ObjectiveGrid library in Release configurations.
The /Fd parameter specifies the name of the .pdb file to create.
-
Find the line containing the following text:
LINK32_DEBUG_FLAG=
Replace it with:
LINK32_DEBUG_FLAG=/debug
-
Save the changes made to the makefile.
-
Rebuild the Objective Grid library using the modified makefile.
After that, rebuild the tested application with the updated Objective Grid library. Remember to include debug information in the application as described in the following topics:
Preparing Visual C++ Applications Created With Intel C++ for Testing
Preparing Visual C++ 8.0 - 12.0, 14.0 - 16.0 Applications (Unmanaged Code) for Testing
Preparing Visual C++ 7.x Applications (Unmanaged Code) for Testing