Book a Demo

Author Topic: Import COM Object into EA Diagram  (Read 5071 times)

Rich_Brockway

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Import COM Object into EA Diagram
« on: September 19, 2003, 09:11:07 am »
All,

I have a COM object for which I'm writing a convenience wrapper. Since this component is freely distributable, I have the blessing of the author. Can I directly import this into an EA diagram? Essentially, I want to have the "original" imported classes to use to generate  "starting point" classes for my wrapper.

Does anyone have any ideas or suggestions?

I would appreciate any help.

Thanks,

Rich

Rich_Brockway

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Import COM Object into EA Diagram
« Reply #1 on: September 30, 2003, 06:00:26 am »
Sparx,

I would really appreciate it if I could have this acknowledged. Is this something that can be easily done now? Is this a feature for a future release? Is this not even under consideration?

Thanks,

Rich

Rich_Brockway

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Import COM Object into EA Diagram
« Reply #2 on: October 02, 2003, 05:28:09 am »
All,

Does anyone have any ideas on how to do this?

Thanks,

Rich

SpoonsJTD

  • EA User
  • **
  • Posts: 39
  • Karma: +0/-0
    • View Profile
Re: Import COM Object into EA Diagram
« Reply #3 on: October 02, 2003, 05:44:04 pm »
You'll need to write some automation to reverse-engineer the type library into an EA model.  If the COM object is simple, it would probably be easier to enter by hand.

I started a .NET C# type library wrapper a while back which would simplify things, but I haven't had a chance to finish it up.  If there was a lot of need for such a thing, I could put together something to finish the reverse engineering of type libraries.  I have been waiting in the hopes that EA will get plug-in support so I could package it that way instead of an external app.

SpoonsJTD

  • EA User
  • **
  • Posts: 39
  • Karma: +0/-0
    • View Profile
Re: Import COM Object into EA Diagram
« Reply #4 on: October 02, 2003, 05:48:11 pm »
I just made my way up to the latest news section and saw that add-in support has been added.  Excellent news!  This will jumpstart several mini-projects I had started for EA, including type library importing.

Rich_Brockway

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Import COM Object into EA Diagram
« Reply #5 on: October 07, 2003, 05:23:09 am »
That sounds great!

RB
« Last Edit: October 07, 2003, 05:24:50 am by Rich_Brockway »