Book a Demo

Author Topic: Unable to register Addin Dll  (Read 3731 times)

eaeio

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Unable to register Addin Dll
« on: February 23, 2011, 05:40:17 am »
I tried to register using
    regsvr32 myAddin.dll
but I get the error
    myAddin.dll was loaded, but the DLLRegisterServer entery point was not found.  This file cannot be registered.

Do I need to register?  If so, what do I need to do to make it work?

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: Unable to register Addin Dll
« Reply #1 on: February 23, 2011, 09:22:00 am »
What language is your add-in written in?  If using a .NET language (e.g. C#, VB.NET) you will need to register using RegAsm.exe.  See:
http://www.sparxsystems.com/enterprise_architect_user_guide/8.0/automation_and_scripts/deployingaddins.html

Also note that this should only be required when deploying your add-in to other machines.  Again, depending on the language you are using, the dll will likely be automatically registered during the build process on your development machine if the "Register for COM Interop" option is enabled in Visual Studio.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Unable to register Addin Dll
« Reply #2 on: February 23, 2011, 06:47:05 pm »