Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: ilaiza on May 25, 2005, 04:17:21 am

Title: dll in the same directory
Post by: ilaiza on May 25, 2005, 04:17:21 am
Hi to everybody,
i have a dll written in visual studio.net and when i register it by regasm.exe... the registration comes carried out correctly but EA give me an error in loading the add-in if the dll is not in the same directory of ea.exe! if i copy the dll in the same directory of ea.exe this error doesn't appear. why? what is the reason? Any suggestion is appreciated.

Sorry for my english...  ;D
Title: Re: dll in the same directory
Post by: TomO on May 29, 2005, 06:56:32 pm
Hello ilaiza,
I think to best answer your question; I would recommend reading this page: http://sparxsystems.com.au/resources/developers/autint_vb_calling_from_ea_addin.html

It explains how to setup and deploy a DLL for EA. Basically the .dll file doesn't need to be in the EA directory, as long as you run the regsvr32 command to register it.

Title: Re: dll in the same directory
Post by: ilaiza on May 30, 2005, 12:33:28 am
Hi,
thanks for the answer....
i read that article but the dll written in .net can't be registered with regSvr32 but with regAsm...  :-/...
so the problem.... there is still....  ???  ???
Other suggestion, please???  :(