Book a Demo

Author Topic: Addin woes  (Read 3637 times)

SomersetGraham

  • EA User
  • **
  • Posts: 376
  • Karma: +1/-0
    • View Profile
Addin woes
« on: September 16, 2011, 08:55:48 pm »
Hi
I have been using EA for some time and have developed several addins.
I thought that I would show a colleague how it all works, by creating the 'hello world' addin from http://geertbellekens.wordpress.com/2011/01/29/tutorial-create-your-first-c-enterprise-architect-addin-in-10-minutes/.
We followed the instructions exactly but when we try it out in EA we get the dreaded 'Addin Missing' !
I did exactly the same on my PC and it works with no troubles.

Anyone got any ideas as to what might be going on?

Thanks

Graham
Using V12

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Addin woes
« Reply #1 on: September 16, 2011, 09:20:19 pm »
Graham,

Addin Missing almost always is a problem with the COM registration of your dll.

The registry key has been created, because EA knows there is an add-in to load, but it can't find it based on the "project.className" that you provided in the reg key.
If you search the registry for this value you should be able to find it somewhere in the HKEY_CLASSES_ROOT\CLSID\...

Have you tried it with my example add-in "MyAddin" at https://github.com/GeertBellekens/Enterprise-Architect-Add-in-Framework?

Geert

SomersetGraham

  • EA User
  • **
  • Posts: 376
  • Karma: +1/-0
    • View Profile
Re: Addin woes
« Reply #2 on: September 16, 2011, 09:23:40 pm »
Hi Geert
It seems that we cannot type! The name of the addin class was incorrectly spelled :-[
Using V12

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Addin woes
« Reply #3 on: September 16, 2011, 09:32:24 pm »
Yep, it's usually something like that ;D

Geert