Book a Demo

Author Topic: BadImageFormatException under Windows7 64Bit  (Read 3988 times)

Ike

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
BadImageFormatException under Windows7 64Bit
« on: March 17, 2011, 11:17:17 pm »
I use the EA Object Library for access to EA. Under Windows 7 64 bit i´ve got follow exception

BadImageFormatException
"Could not load file or assembly 'Interop.EA, Version=2.10.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format."
Same code under 32bit works fine.
Any idea

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: BadImageFormatException under Windows7 64Bit
« Reply #1 on: March 18, 2011, 08:25:23 am »
EA is a 32 bit application, so the code you are calling it from will also need to be 32 bit.

Chris_Yu

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: BadImageFormatException under Windows7 64Bit
« Reply #2 on: March 23, 2011, 08:52:24 pm »
Do I have to read Simon's statement as: Sparx will not support EA on 64 bit systems? :(

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: BadImageFormatException under Windows7 64Bit
« Reply #3 on: March 24, 2011, 08:02:32 am »
It runs perfectly well on a 64 bit machine in 32 bit mode, and is supported as such.  It just means that any applications you write using our interface will also need to be 32 bit.  At this stage I'm not aware of any plans to release a 64 bit version of EA.