VBA
Discuss AutoCAD ActiveX and VBA (Visual Basic for Applications) questions here.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Windows 7 64-bit & Autocad 2013 64-bit

6 REPLIES 6
Reply
Message 1 of 7
shulinl
3473 Views, 6 Replies

Windows 7 64-bit & Autocad 2013 64-bit

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

6 REPLIES 6
Message 2 of 7
shulinl
in reply to: shulinl

Here is my references:

Message 3 of 7
shulinl
in reply to: shulinl

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

Message 4 of 7
Alfred.NESWADBA
in reply to: shulinl

Hi,

 

just a try: use the DLL-references not from your ObjectARX-folder, but from the AutoCAD-installation folder.

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at ... blog.hollaus.at ... CDay 2024
------------------------------------------------------------------------------------
(not an Autodesk consultant)
Message 5 of 7
shulinl
in reply to: Alfred.NESWADBA

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....

 

Message 6 of 7
Alfred.NESWADBA
in reply to: shulinl

Hi,

 

this message pops up before you do a _NETLOAD of your project?

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at ... blog.hollaus.at ... CDay 2024
------------------------------------------------------------------------------------
(not an Autodesk consultant)
Message 7 of 7
shulinl
in reply to: Alfred.NESWADBA

<Assembly: CommandClass(GetType(ClassVolOut))>

 

the above line solved all my problems although some say it is not mandatory to have this line.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost