Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

C++ reverse engineering with .hh file

7 views
Skip to first unread message

Angela Li

unread,
Sep 6, 2005, 3:54:23 PM9/6/05
to
I need to reverse a really old project with .hh type c++ header files.
Together Architect shows up nothing in the diagram. How do I change the
configuration to let it know .hh file?

Angela Li


ElenaA

unread,
Sep 7, 2005, 4:48:54 AM9/7/05
to
yes - add it to the list of cpp header extensions in resource.config:
resource.file.cpp_header.extension.1 = "hpp"
resource.file.cpp_header.extension.2 = "h"
resource.file.cpp_header.extension.3 = "HPP"
resource.file.cpp_header.extension.4 = "H"
resource.file.cpp_header.extension.5 = "hh"
resource.file.cpp_header.name = ["filetype/cpp.header"]
resource.file.cpp_header.type = "source"
resource.file.cpp_header.language = "cpp"


"Angela Li" <ange...@jhuapl.edu> wrote in message
news:431d...@newsgroups.borland.com...

Angela Li

unread,
Sep 7, 2005, 9:38:55 AM9/7/05
to
I found that in TogetherArchitect\config\cpp.config file, there is a line:
codegen.cpp.declaration_file_ext = "h"

I assume I can change it from "h" to "hh", but how do I make it support both
"h" and "hh"?


"Angela Li" <ange...@jhuapl.edu> wrote in message
news:431d...@newsgroups.borland.com...

ElenaA

unread,
Sep 7, 2005, 11:16:23 AM9/7/05
to
see my answer above
codegen.cpp.declaration_file_ext option affects the code generation only -
it defines what extension to use for filres generated by Tg. Certainly, only
one xetension is allowed.

these are resource.file.cpp_header.extension.* options that affect files
recognition - you need to edit resource.config in a way provided in my post
above


"Angela Li" <ange...@jhuapl.edu> wrote in message

news:431eed34$1...@newsgroups.borland.com...

0 new messages