Book a Demo

Author Topic: EA Dialogs when called from API  (Read 3389 times)

Knut Paulsen

  • EA User
  • **
  • Posts: 82
  • Karma: +1/-0
    • View Profile
EA Dialogs when called from API
« on: July 24, 2013, 04:35:54 pm »
Hi guys,

I have a stand-alone windows program that opens a number of EA repositories in sequence searching for some stuff. If, for some reason, I supply invalid user name or password, EA pops up the login dialog asking for this information. Also, if the ODBC entry does not exist, EA pops up a dialog asking for a password.
Is there any way to avoid these dialogs? I would rather have an exception that I could handle and then move on to the next repository.

Thanks for any help :-)

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: EA Dialogs when called from API
« Reply #1 on: July 24, 2013, 07:42:08 pm »
AFAIK you can't avoid it. You probably have to spawn the open process and set a timeout. Then you need to kill it eventually.

q.