Author Topic: problem with Diagram.SelectedObjects (EA 5.00.766)  (Read 3352 times)

Buthrakaur

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
problem with Diagram.SelectedObjects (EA 5.00.766)
« on: June 07, 2005, 03:35:31 am »
we just ran on a problem when accessing Repository.GetCurrentDiagram().SelectedObjects collection - any attempt to retrieve elements of this collection results in windows-exception "WindowsError: [Errno -2147467262] Unknown interface"...

were there any changes in the interface recently? we upgraded from EA4.5x few days ago, where this worked ok... we're accessing EA from python and regenerated the type library after switching to current version....

Navid_Khosravi

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: problem with Diagram.SelectedObjects (EA 5.00.
« Reply #1 on: March 27, 2006, 06:53:49 am »
I  have also the same problem with this collection.
Navid
« Last Edit: March 27, 2006, 06:54:44 am by Navid_Khosravi »

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: problem with Diagram.SelectedObjects (EA 5.00.
« Reply #2 on: March 27, 2006, 09:16:19 pm »
While there were changes to the interface between 4.x and through 5.0, I am not aware of any changes to this particular area.  If you have not done so already, it is recommended that you re-link to the latest Typelib or Interop and recompile for maximum compatibility.
If the problem continues, please email [email protected] and we can look into the problem in more detail.