Book a Demo

Author Topic: Code Generation remembers old errors  (Read 2731 times)

Mike

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Code Generation remembers old errors
« on: May 13, 2003, 02:26:53 pm »
Me is a EA newbie! :)
Like what I found - as I have never designed a prog. before! Things just developped  :P

Like idea of generating code (to c++) but have found that it does not appear to work quite as expected.
1. I forgot to define the target language as C++ for one class (lets call it BadClass)and ever since the code generated for the class (SillyClass) that references the first class appears to remember this mistake and insists on giving the include file a name like "uName.pas". I have even deleted the refernce to the class and it still does it!
2. The include file for a class long since deleted is still being included, as is the attribute (also deleted from model) in SillyClass
3. The include file for SillyClass declares the methods three times!

I am over writing not syncing.

I am using the trial version 3.51.

Any suggestions or do you need more info?

Mike