Book a Demo

Author Topic: Problems importing C++  (Read 5531 times)

TorbenKoch

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Problems importing C++
« on: May 13, 2002, 09:10:19 am »
Hi,

When importing a class like this:

class COMMON_API TextPattern
{
...
}

EA thinks the class is called COMMON_API, not TextPattern. This ofcourse causes some serious import problems when all our classes are tagged with this macro.

By the way, when having very big diagrams, the gifs generated cannot be shown in Internet Explorer 6. Either this is a bug in IE6 or the gif is somehow faulty. Just wanted you to know...

andlil

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: Problems importing C++
« Reply #1 on: May 14, 2002, 03:32:45 am »
You have to add a macro definition for COMMON_API.

Under the reference menu choose Language macros
Select Language C++ and press Add new.

Re-import your classes and the should have correct names.

/Anders

TorbenKoch

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: Problems importing C++
« Reply #2 on: May 14, 2002, 03:34:00 am »
Okay, thanks, will try that right away!

And it did work! Thanks!
« Last Edit: May 14, 2002, 04:17:44 am by TorbenKoch »