Author Topic: Embeding DLL in Autocad .Net  (Read 510 times)

0 Members and 1 Guest are viewing this topic.

civil.eng

  • Newt
  • Posts: 61
Embeding DLL in Autocad .Net
« on: September 28, 2022, 02:44:41 AM »
Hello everyone,
I have written an Autocad DLL with vb.net and I embeded another DLL in it. When I want to run the program by command it gives error, while it works fine without embeded DLL. (the error image was attached)

I think Autocad .Net DLL don't allow to carry another DLL. is that right ?


gile

  • Water Moccasin
  • Posts: 2406
  • Marseille, France
Re: Embeding DLL in Autocad .Net
« Reply #1 on: September 28, 2022, 02:56:48 AM »
Hi,

In addition to Norman Yuan replies you in the Autodesk discussion group, typically, in you project you should reference this DLL with the Copy Local property set to True. If you need to deploy you program, you have to copy this DLL in the same folder as the project one.
Speaking English as a French Frog