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

0 Members and 1 Guest are viewing this topic.


  • Newt
  • Posts: 66
Embeding DLL in Autocad .Net
« on: September 28, 2022, 02:44:41 AM »
Hello everyone,
I have written an Autocad DLL with 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 ?


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

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