Book a Demo

Author Topic: import C files  (Read 2860 times)

guyenta

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
import C files
« on: September 13, 2007, 05:46:46 am »
Hello,

i am a newbie and need some help about C files importation.

Ive tried my project to import with "Import Source Directory"

the header files (.h) are imported and all is turned into classes
but when i try to import  source file (.c) i get the error:
Die Anweisung in "0x00506396" verweist auf Speicher in "0x00000011". Der Vorgang "read" konnte nicht auf dem Speicher durchgeführt werden.

Could anyone please explain me how EA import C files (which hypothesis,assumptions??)?
Are there parameters for the importation?



«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: import C files
« Reply #1 on: September 13, 2007, 06:14:28 am »
I think this question came up quite some time ago. If I remember, the answer is that EA, being an object oriented UML tool, does not import C (at least not well). [NB: I do not remember correctly!]

Please search the forum to find the thread, since I could be wrong about this.

EA will reverse engineer C++ quite well. Any chance you could run your code through a converter and then import?

David
« Last Edit: September 14, 2007, 04:18:10 am by Midnight »
No, you can't have it!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: import C files
« Reply #2 on: September 13, 2007, 01:12:05 pm »
Please send a bug report into sparx support.

David, C code engineering was added quite a while ago now.




«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: import C files
« Reply #3 on: September 14, 2007, 04:18:30 am »
Thanks for correcting me Simon. I've amended the post.

David
No, you can't have it!