Author Topic: How to load plug-ins via COM?  (Read 2137 times)

mattb

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
How to load plug-ins via COM?
« on: June 17, 2007, 07:23:22 pm »
  I am driving EA via it's Automation Interface, and I have found that my plugins are not loaded when I execute EA in this fashion.

 Is there a way to tell EA to load plugins via COM?  or a setting that will otherwise cause this?

 My only other solution is to start EA and connect to live process via COM {GetActiveOleObject()}, but I am not sure how reliable that will be  in a production environment.


Matt Brown
Sr Software Engineer
Intuit Inc.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: How to load plug-ins via COM?
« Reply #1 on: June 18, 2007, 01:38:21 am »
What about the Repository methods: IsTechnologyLoaded, ImportTechnology, and DeleteTechnology? These are defined as working with MDG technologies, but you could likely set your add-ins up to act appropriately - just ensure they respond to the required events (since the MDG events are not optional) and return an appropriate MDG name when queried.

[Note that the above are from EA 7.0, but I think they were in 6.5 as well.]

David
No, you can't have it!