Hello Torsten,

There is no way to reverse engineer the C code into RoseRT. Reverse engineering code is done with the C++ Analyzer and generally does a poor job at reversing  C code.

The way to handle this would be to create an interface within RoseRT that calls into the C library. That way you can re-use the tested C code without modifying it.

In the RoseRT help, take a look at the Integrating Data model. This shows how you can integrate existing code that is in a library into a new model.

Hope this helps.

Thanks,
=======================
James Hart
Rose/RoseRT Technical Support
Rational Software
(Phone: 1-800-433-5444
+email: [EMAIL PROTECTED]
"Why, oh why, didn't I take the blue pill?" - Cipher, The Matrix
=======================

Rational Customer Service - Committed to Service Excellence
SCP Certified:  <http://www.rational.com/support/scp.jsp>
 

-----Original Message-----
From: Viswanathan, Annamalai
Sent: Tuesday, June 18, 2002 8:26 AM
To: Hart, James
Subject: FW: (ROSE) Creating a RoseRT model from legacy C code

-----Original Message-----
From: Torsten Hannemann (EED) [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 18, 2002 8:23 AM
To: [EMAIL PROTECTED]
Subject: (ROSE) Creating a RoseRT model from legacy C code

 

Hello,

 

is there any experience about reengineering legacy C code by making a transition to OO design and generating a model in RoseRT ( Creating a new architecture , too) ?

 

I want to reuse well running/tested program parts/modules  which have been written in C by wrapping them into classes or capsules. Other parts probably have to be designed from scratch.

 

Is it possible to generate a model from the existing C code as a starting pint for restructuring ?

 

 

I would very much appreciate any help !

 

Best regards

Torsten Hannemann
Ericsson Eurolab Deutschland GmbH

Reply via email to