Author Topic: dll in the same directory  (Read 3694 times)

ilaiza

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
dll in the same directory
« 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

TomO

  • EA Administrator
  • EA User
  • *****
  • Posts: 80
  • Karma: +7/-0
  • EA - Bridging the gap between Business and IT
    • View Profile
    • Sparx Systems
Re: dll in the same directory
« Reply #1 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.

« Last Edit: May 29, 2005, 06:56:47 pm by TomO »

ilaiza

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: dll in the same directory
« Reply #2 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???  :(