Resolving the problem
The Rose C++ Analyzer is a Rational Rose tool that has been included as an Add-In with Rose RealTime to help facilitate reverse engineering of C++ classes, which can then be imported into a Rose RealTime model.
The C++ Analyzer has the capability of using a "base" project. A base project is typically created with the files needed for compilation but not needed for the design model. Usually, but not always, they will be the standard library files supplied by the compiler vendor such as: stdio.h, stddef.h, and so on.
After downloading the .zip file, unzip this file to the %ROSERT_HOME% directory, by default that would be "C:\Program Files\Rational\Rose RealTime". Within this directory the unzipping will create two directories: Analyzer and Analyzer\projects.
Within the projects directory will be all the files needed to reverse engineer projects from MSVC++.
- msvc60.pjt - The main MSVC++ project, most likely the only one you need
- atl60.pjt - The MSVC++ project based on ATL, used in conjunction with msvc60.pjt
- mfc60.pjt - The MSVC++ project based on MFC, used in conjunction with msvc60.pjt and atl60.pjt
Help > Search for Help on... > virtual path symbol
Additional information on virtual path maps can be found in the Rose RealTime online help:
Guide to Team Development > Storage of Model Data > Virtual Path Maps > Defining Virtual Path Maps
For each of the "base" projects different pathmaps are required to be defined.
For msvc60.pjt:
$ROSERTHOME - specifies the root directory of the Rose RealTime installation
$MSVC60 - directory containing Microsoft Visual C++ include files
$DESIGN - directory in which model files containing reverse-engineered designs are placed
For atl60.pjt:
$ATL60 - directory containing the ATL 6.0 include files
For mfc60.pjt:
$MFC60 - directory containing the MFC 6.0 include files
Having these projects loaded as a base project will help in reverse engineering your MSVC++ code.
Note: The base projects do not need to be error free. Ideally the actual user project should be error free.
Related information
Japanese technote
Base projects to be used with the C++ Analyzer
Rational Rose RealTime support on the web