Thread: Rational rose and Visual C++

  1. #1
    Registered User
    Join Date
    Aug 2006
    Location
    Slovenia
    Posts
    12

    Rational rose and Visual C++

    Is it possible to "import" a Visual c++ project (workspace .dsw) files into Rational rose and let it create a class diagram for you?

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Is this before or after
    - trying it
    - reading the manual
    - reading the RR website

    Also, not a C++ question, it's about the tools (or other technical matters).
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    Aug 2006
    Location
    Slovenia
    Posts
    12
    Sorry I wasn't quite sure where to put it.

    Of course I tried it but didn't suceed.

    Rational Rose has this C++ Analyzer that should analyze all the .h and .cpp files and then export to Rational Rose. But this analyzer doesn't find all the MFC libraries that I included and I don't see anywhere to "point" to their location and it gives other semantical errors?

    I managed to get Rational Rose to create a class diagram using a very simple project so basically the problem is with other include files mainly with MFC libraries


    EDIT: I found where to show the analyzer the path to the include files
    I had to manually input them:
    ROSECPPHOME = c:\program files\rational\rose\c++
    MSVC60 = c:\program files\microsoft visual studio\vc98\include
    MFC60 = c:\program files\microsoft visual studio\vc98\mfc\include
    ATL60 = c:\program files\microsoft visual studio\vc98\atl\include

    It finds some of the include files now but still reports alot of semantical mistakes. When I export and open in Rational Rose everything is just blank.
    Last edited by MarkookraM; 09-05-2006 at 02:27 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. UML & Rational Rose
    By ventolin in forum Tech Board
    Replies: 4
    Last Post: 02-05-2005, 04:45 AM