Book a Demo

Author Topic: Exception: Attempted to r/w protected mem  (Read 2875 times)

mogra69

  • EA User
  • **
  • Posts: 21
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Exception: Attempted to r/w protected mem
« on: December 15, 2006, 04:36:39 pm »
Has any one seen an EA exception with the message - Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

I get this intermittently soon after a user opens a file in EA and in the AddIn in EA_FileOpen handler I am trying to verify if the opened project is of the AddIn's interest.

Often it crashes inside EA.CollectionClass.GetAt().

I suspect after the FileOpen EA is initializing while the AddIn is accessing uninitialized data resulting in the crash. It seems like a timing issue as it is seen intermittently.

Any thoughts?

thomaskilian

  • Guest
Re: Exception: Attempted to r/w protected mem
« Reply #1 on: December 16, 2006, 06:50:26 am »
Not really. Try to check the model consistency with the Tools menu (can't currently recall the exact location and don't have EA at hand).