Reverse Engineering

I l @ ve RuBoard

Step 1: Use the Model Update Tool to Reverse Engineer the Visual C++ or Visual Basic Code

Once you complete your code in Visual C++ or Visual Basic you need to update the model to reflect any changes. This can be accomplished by using the Model Update tool. You can also use this tool to create an initial model for existing code.

TO UPDATE (CREATE) A MODEL FROM CODE USING THE MODEL UPDATE TOOL

graphics/quatranirose_icon.gif
  1. Select the Tools:Visual C++:Update Model from Code or the Tools:Visual Basic:Update Model from Code menu command.

  2. Follow the steps of the wizard.

The Model Update Tool is shown in Figure B-7.

Figure B-7. Model Update Tool

graphics/bfig07.jpg

Step 2: Evaluate the Errors

When the reverse engineering process is complete, the Summary window is displayed in the Model Update tool. The Summary tab contains information about the generated code and all code generation errors are written to the Log, which can be viewed by selecting the Log tab of the Summary window.

The Summary window is shown in Figure B-8.

Figure B-8. Summary Window

graphics/bfig08.jpg

I l @ ve RuBoard


Visual Modeling with Rational Rose 2002 and UML
Visual Modeling with Rational Rose 2002 and UML (3rd Edition)
ISBN: 0201729326
EAN: 2147483647
Year: 2002
Pages: 134

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net