Book a Demo

Author Topic: Importing large code base with ATL, ... dependency  (Read 2044 times)

Sucho

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Importing large code base with ATL, ... dependency
« on: July 14, 2010, 09:46:44 pm »
Hi,

I do have a large mixed (C, C++, C#, ...) code base, which I'm supposed to reengineer. It is obvious that just importing everything to EA will not help, but I would at least try to avoid to insert all methods, attributes etc. manually.

Unfortunately I got stuck in some of my first classes. It is an ATL based COM object and EA complains that it doesn't know CComObjectRootEX. This is obvious, because it is part of Microsoft's ATL lib (atlcom.h).
So what is the intended way to work around this? I could also import all required Microsoft headers, but is there no easier way? I was looking for an option to specify an additional include path, which is only used to solve those dependencies, but couldn't find something.

Maybe someone here can help?

Thanks a lot
Jan

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Importing large code base with ATL, ... depend
« Reply #1 on: July 15, 2010, 08:52:23 am »
There is no option to specify an include path.

I suspect that the problem is that there is a language macro (probably just a little before that symbol) that is causing EA's parser to fail.