acmgd.dll & acdbmgd.dll

acmgd.dll & acdbmgd.dll

ProfWolfMan
Advocate Advocate
13,073 Views
11 Replies
Message 1 of 12

acmgd.dll & acdbmgd.dll

ProfWolfMan
Advocate
Advocate

Hi,

this is very basic clarification on publishing a .net application.

Now i am doing a .net application which show some drawing output on autocad and
allow users to work with those objects using acad's pallete when user trigeer paticular event on my form.

That autocad pallette application done as managed application dll which uses acmgd.dll & acdbmgd.dll.

Now, to publish my project to user whom have autocad installed their m/c, is it necessary to include acmgd.dll & acdbmgd.dll in my publish?

I read some documents and refer some forums, but i could not catch correct answer.

Thanks in advance.

 

Regards,
G


 

Thanks & Regards,
G
0 Likes
Accepted solutions (1)
13,074 Views
11 Replies
Replies (11)
Message 2 of 12

michael_robertson
Collaborator
Collaborator
Accepted solution

From taking programming classes led by some of the head developers from Autodesk they said to always reference the acmgd & acdbmgd dlls from the ObjectARX sdk (not the one delivered with the software) and to NOT deliver them with your own applications.

Mike Robertson
FL. Dept. of Transportation
CADD Applications Developer
0 Likes
Message 3 of 12

patrick.emin
Alumni
Alumni

Normaly, people using your application should have these DLLs, because if they don't, it means they don't have the software wich comes with, eg AutoCAD. Well, it's what I understood...


Patrick Emin animateur de la communauté francophone


Vous avez trouvé un message utile? Alors donnez un "J'aime" à ce message!
Votre question a eu une réponse satisfaisante? Voulez vous avoir l'amabilité de cliquer sur le bouton
 APPROUVER LA SOLUTION  en bas de la réponse qui apporte une solution?
Signez notre Livre d'Or
0 Likes
Message 4 of 12

Jedimaster
Collaborator
Collaborator

Just ObjectARX_2011_Win_64_and_32Bit.exe. If you are looking in C:\ObjectARX 2011\inc-win32 it is not there per old instructions. It is located in C:\ObjectARX 2011\inc. I assume the dll's are the same.

0 Likes
Message 5 of 12

m-d
Contributor
Contributor

acmgd.dll & acdbmgd.dll are dll-s found in installed directory of AutoCAD, which are added od the right side (Solution Explorer in References). When you select the acmgd.dll and acdbmgd.dll, under Properties you will find "Copy Local" --> true, this means that when you will Debug (F5) for the first time, it will copy bouth dll-s and a few more into the bin file (your project). All these dll-s are connected, that-s why there are so many of them.

I am working with AutoCAD 2010, and I wonder if those .dll-s are the same in 2011 and if it will be in the future.

0 Likes
Message 6 of 12

Anonymous
Not applicable

You should really download the ObjectARX SDK for the version of AutoCad you are developing for. Then reference the acdbmgd.dll & acmgd.dll from the ObjectARX20XX\inc folder. These dll's behave better with Visual Studio.

 

You should never deliver these dll's, they are part of the AutoCAD install.

 

If you use the 2010 version of the dlls your application should run on 2011 & 2012 (they are based on the same engine) but would need to be recompiled for 2013 when it comes out.

0 Likes
Message 7 of 12

Anonymous
Not applicable

In several places in the docs and training materials, they specify to set 'copy local' to false, or you may get strange, hard to debug errors.

0 Likes
Message 8 of 12

Anonymous
Not applicable

Hi, I installed ObjectARX 2012 but I didn't find acmgd.dll and acdbmgd.dll in the objectarx folder. Do you have any idea to fix that?

Thank you

0 Likes
Message 9 of 12

Jedimaster
Collaborator
Collaborator

Check your .net build if your build is too recent it could cause an issue. I think 2012 used .Net 4.0. There should be a copy of the dll in the AutoCAD program directory C:\Program Files\Autodesk\AutoCAD 2012

0 Likes
Message 10 of 12

norman.yuan
Mentor
Mentor

You do not have "install" OBjectARX SDK. While it is downloaded as EXE, it is only self-compressed ZIP file, as EXE. Running it simply unzips all the files in the SDK into a location/folder of your choice.

 

Within that location, for Acad2012 ObjectARX SDK (I still have Acad2012 ObjectARX SDK in one of my computer), you should be able to find a few folders, like "Inc", "inc-win32", "inc-x64"... The 2 DLL files you are looking for are in the folder "inc".

 

 

Norman Yuan

Drive CAD With Code

EESignature

0 Likes
Message 11 of 12

Anonymous
Not applicable

Thank you for this answers but how can I know the .net framework version? Sorry for this question

0 Likes
Message 12 of 12

Anonymous
Not applicable

Finaly I can find those files, I just do what norman.yuan said. Thank you 🙂

0 Likes