My compiled dll worked fine in Acad 2012/XP 32-bit.
Now with Windows 7 64-bit & Autocad 2013 64-bit, I have compiled my dll again using vb 2010 express with all errors corrected using new reference - AcCoreMgd.dll.
I can netload it in acad 2013, but I see nothing going on with no warnings.
The predefined commands in my dll do not work at all.
Do I need special procedures for my dll to be used on 64-bit OS and 64-bit Acad?
Can some one shed some light on what I might have overlooked?
Thanks
The issue is still not resolved.
I find this from inside Autocad 2013.
The command line reads: "acmgd.dll is incompatible with this version of AutoCAD."
the following echoes at starting Acad:
Customization file loaded successfully. Customization Group: ACAD
Customization file loaded successfully. Customization Group: SHULINL2012
Customization file loaded successfully. Customization Group: SHULIN.LI
Customization file loaded successfully. Customization Group: ACFUSION
Regenerating model.
Initializing VBA System...
Loading VBA startup file...
acmgd.dll is incompatible with this version of AutoCAD.
AutoCAD menu utilities loaded.
AcadDoc.Lsp loaded ...
Command: _RIBBON
Command: COMMANDLINE
Command: properties
Hi,
just a try: use the DLL-references not from your ObjectARX-folder, but from the AutoCAD-installation folder.
- alfred -
I tried pointing ac*mgd.dll files to AutoCAD 2013 folder (C:\Program Files\Autodesk\AutoCAD 2013\ac*mgd.dll).
But it did not load my dll.
When I fire up Autocad 2013 from inside VB 2010 (F5), there ccomes the messge "acmgd.dll is incompatible with this version of AutoCAD." This message comes after "Loading VBA startup file..."
When I start Autocad 2013 outside VB 2010, the above messgae doesn't appear.
I am wondering if that message can serve as a hint to what causes the problem of loading my dll.
praying....
Hi,
this message pops up before you do a _NETLOAD of your project?
- alfred -
<Assembly: CommandClass(GetType(ClassVolOut))>
the above line solved all my problems although some say it is not mandatory to have this line.