Book a Demo

Author Topic: How to know when the EAP file is closed?  (Read 5111 times)

romu

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
How to know when the EAP file is closed?
« on: January 20, 2011, 02:56:56 am »
Hi all,
Pretty simple question, in the add-in API there is no callback to know when the current project is closed. Is there another way to proceed?

Thanks.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: How to know when the EAP file is closed?
« Reply #1 on: January 20, 2011, 07:33:04 am »
Just thinking loud. There are two reasons for closing the repository:
a) opening another one inside EA
b) shutting down the application
While a) you get a new Open event, b) might be captured using windoze mechanisms (I'm not a specialist here).

q.

alesliehughes

  • EA Administrator
  • EA User
  • *****
  • Posts: 104
  • Karma: +0/-0
    • View Profile
Re: How to know when the EAP file is closed?
« Reply #2 on: January 20, 2011, 08:12:33 am »

romu

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: How to know when the EAP file is closed?
« Reply #3 on: January 20, 2011, 08:13:35 pm »
Perfect!

It seems I have to take more knowledge about the EA extension API and how the documentation works.

Thanks a lot.