Author Topic: EA Addin problem  (Read 5965 times)

ritu

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
EA Addin problem
« on: April 21, 2008, 10:34:27 pm »
I am trying to create an addin for EA but I am facing a strange problem. Addin is not appearing on EA IDE although it is showing addin enable.

I am creating the addin through C# and following the same steps as described in the help.

Please tell me the steps to create addin in detail. I am wirking on EA trial version 7.1

thomas.kilian

  • Guest
Re: EA Addin problem
« Reply #1 on: April 21, 2008, 10:50:53 pm »
place debug messages in your init code and see where it crashes. good luck

vibhugupta

  • EA User
  • **
  • Posts: 29
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: EA Addin problem
« Reply #2 on: April 21, 2008, 10:58:35 pm »
It's not crashing. I am asking the steps to create addin and the reason why it is not appearing on EA IDE

vibhugupta

  • EA User
  • **
  • Posts: 29
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: EA Addin problem
« Reply #3 on: April 21, 2008, 11:43:50 pm »
I am surprised to see that the same code has created the addin on another system. What the issue is?

thomas.kilian

  • Guest
Re: EA Addin problem
« Reply #4 on: April 22, 2008, 12:02:17 am »
The fact that it shows in the list of Add-ins only tells that it is registered correctly in EA's part of the registry. Doesn't tell that the code runs correctly. So go ahead and debug.

ritu

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: EA Addin problem
« Reply #5 on: April 22, 2008, 12:20:09 am »
Please tell me how to register it. I have the same problem my addin is working on some systems and the same code is not working on some another system.

Please explain me so that my addin may work

thomas.kilian

  • Guest
Re: EA Addin problem
« Reply #6 on: April 22, 2008, 12:31:00 am »
Sorry. RTFM. It's explained in detail and EA comes with examples. So just follow the steps in the documentation (exactly!).

brannstrom

  • EA User
  • **
  • Posts: 35
  • Karma: +0/-0
    • View Profile
Re: EA Addin problem
« Reply #7 on: April 22, 2008, 12:42:29 am »
Do your addin have the function EA_GetMenuItems?

/N

ritu

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: EA Addin problem
« Reply #8 on: April 22, 2008, 03:35:51 pm »
Yes I have this function. I have taken the same code and steps explained in EA Help file. Still I don't understand the problem. I also tried by registering the dll as given in the steps but it is saying that

dll was loaded but the DLLRegisterServer entry point was not found.
This file can't be registered.

thomas.kilian

  • Guest
Re: EA Addin problem
« Reply #9 on: April 22, 2008, 03:39:01 pm »
The ability to ready certainly enhances your powers

ritu

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: EA Addin problem
« Reply #10 on: April 22, 2008, 04:01:11 pm »
If you can help me that's fine otherwise let someone else answer of my query

brannstrom

  • EA User
  • **
  • Posts: 35
  • Karma: +0/-0
    • View Profile
Re: EA Addin problem
« Reply #11 on: April 22, 2008, 04:02:04 pm »
I would recomend you to download an example project and start from that the first time you try to create a EA plugin. This way you know that the c# code is correct. http://www.sparxsystems.com/bin/CS_AddinFramework.zip

/N

ritu

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: EA Addin problem
« Reply #12 on: April 22, 2008, 04:11:15 pm »
I have been trying the same code you have suggested me. This is the same code I downloaded from EA help. I am following the same stepa and instructions.

mrf

  • EA User
  • **
  • Posts: 311
  • Karma: +0/-0
    • View Profile
Re: EA Addin problem
« Reply #13 on: April 22, 2008, 04:40:52 pm »
This thread has been closed. Please check the following post for more details http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1208258074/15
« Last Edit: April 22, 2008, 04:44:57 pm by mfraser »
Best Regards,

Michael

[email protected]
"It is more complicated than you think." - RFC 1925, Section 2.8

Frank Horn

  • EA User
  • **
  • Posts: 535
  • Karma: +1/-0
    • View Profile
Re: EA Addin problem
« Reply #14 on: April 22, 2008, 04:42:49 pm »
When you compile the AddIn project from MS Visual Studio with the "register for COM interop" option turned on, VS will kindly create a type library (same name as dll, but with a tlb extension) and register it. VS does not, however, create an entry point in the dll for self registering, so regsvr32.exe won't help. For deployment on another system, you can either register it there with regasm.exe (contained in the .Net Framework SDK), or you can add a setup project to your AddIn solution. Building the setup project will then create an msi file for installation, and if all the relevant properties in the setup project have been set this msi will register the AddIn dll.