Book a Demo

Author Topic: Creating an external .exe application to access EA Repository  (Read 4259 times)

Luis J. Lobo

  • EA User
  • **
  • Posts: 252
  • Karma: +0/-0
  • IT Consultant
    • View Profile
Hi, everybody!

I'm creating an external application (MyApp.exe) in C# which connects to an EA Repository using its API (InteropEA.dll).

When I run 'MyApp.exe' on a PC with EA installed, everything is fine. But when I run 'MyApp.exe' on a PC without EA installed, it fails even though I have deployed it with the 'InteropEA.dll' library.

Does anyone know if it is necessary to install the EA client on the PC where 'MyApp.exe' is going to run? Is not enough with some libraries?

Thanks in advance,

Luis

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Creating an external .exe application to access EA Repository
« Reply #1 on: April 16, 2020, 03:43:23 am »
Yes. You need the key along with EA.

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Creating an external .exe application to access EA Repository
« Reply #2 on: April 16, 2020, 04:56:12 am »
The InteropEA.dll is merely the API that allows you to interact with the application, but you need to the whole application to do do anything.

This is similar to using something like Word or Excel using their API. You can't do that if you haven't installed Office.

Geert

Luis J. Lobo

  • EA User
  • **
  • Posts: 252
  • Karma: +0/-0
  • IT Consultant
    • View Profile
Re: Creating an external .exe application to access EA Repository
« Reply #3 on: April 16, 2020, 07:15:41 pm »
Thank you, querty, Geert!