AutoCAD Civil 3D Customization

Reply
Valued Mentor
kevin.barnett
Posts: 381
Registered: ‎08-13-2007
Message 1 of 11 (517 Views)

cannot find wrapper - c3d 2011 64 - needing COM

517 Views, 10 Replies
07-13-2011 10:11 PM

Greetings,

C3D 2011. 64 bit. sp1 and sp2 installed

windows 7 enterprise 64

csharp 2010 express

 

no problems referencing managed dot net libraries; already developed some working solutions

now I need to reference the COM libraries

when I try to reference the AEC Base 6.5 Application Library (program files ........ aecxuibase65.tlb) the response is error:

cannot find wrapper assemby ...

 

I have tried a couple of suggestions so far

1 - the registry edit from the api training session

2 - downloading the object arx sdk and referencing x64 dll's from there

 

but I still get the same error.

any ideas? thx... have a great day...

 

 

Distinguished Mentor
andrewpuller3811
Posts: 759
Registered: ‎07-30-2008
Message 2 of 11 (511 Views)

Re: cannot find wrapper - c3d 2011 64 - needing COM

07-14-2011 04:17 AM in reply to: kevin.barnett

I had the exact same problem just recently, and through a lot of referencing/unreferencing I somehow got it to work.

 

Sorry didn't document the step that worked. :smileysad:

 

Just had a look through the .vbproj file which made me remember that I made a new project from scratch, and used the Object ARX references \Object ARX 2011\inc\AcDbMgd.dll   \Object ARX 2011\inc\AcMgd.dll and then the usual references to C:\Program Files\Autodesk\AutoCAD Civil 3D 2011\AeccDbMgd.dll and C:\Program Files\Autodesk\AutoCAD Civil 3D 2011\AecBaseMgd.dll 

 

I also browsed to the files acax18ENU.tlb and axdb18enu.tlb in the \objectARX 2011\inc-x64 folder.

For the civil com libraries I browsed to the files AecXBase65.tlb and AecXUIBase65.tlb in the folder C:\Program Files\Common Files\Autodesk Shared  and  AeccXLand.tlb and AeccXUiLand.tlb in C:\Program Files\Common Files\Autodesk Shared\Civil Engineering 80

 

This seemed to allow the AecXUIBase65.tlb reference to work.

 

I then copied this project and imported all the existing forms and modules.

 

Long winded way of getting it to work, but was ready for anything after days of the same problem.

 

Maybe just unreferencing and rereferencing like above might work.

 

Hope this helps, or someone comes up with a better solution.

If this fixed your issue, click on "Accept as Solution"

Andrew Puller
Maitland, NSW, Australia
Windows 7 Enterprise 64bit
Intel core i7 2600 @ 3.40 GHz with 16GB Ram
Civil 3d 2013 64bit
Valued Mentor
kevin.barnett
Posts: 381
Registered: ‎08-13-2007
Message 3 of 11 (508 Views)

Re: cannot find wrapper - c3d 2011 64 - needing COM

07-14-2011 04:23 AM in reply to: andrewpuller3811

thx Andy ... I will give it a bash just now.. at least I am not alone, so it makes me feel a little better...

Distinguished Contributor
jmaeding
Posts: 927
Registered: ‎12-27-2006
Message 4 of 11 (408 Views)

Re: cannot find wrapper - c3d 2011 64 - needing COM

04-12-2012 01:33 PM in reply to: kevin.barnett

I'm getting same error on C3D 2012.

I have a sub support case going, so anyone with suggestions besides reinstall, pls chime in.

 

What was the reg fix suggested in the api training?

thx

*Expert Elite*
Jeff_M
Posts: 4,171
Registered: ‎07-22-2003
Message 5 of 11 (402 Views)

Re: cannot find wrapper - c3d 2011 64 - needing COM

04-12-2012 02:13 PM in reply to: jmaeding

James, if you have applied Update 1 for C3D2012 then you need to apply a registry fix. I've attached it to this message.

Jeff_M, also a frequent Swamper
Distinguished Contributor
jmaeding
Posts: 927
Registered: ‎12-27-2006
Message 6 of 11 (400 Views)

Re: cannot find wrapper - c3d 2011 64 - needing COM

04-12-2012 02:42 PM in reply to: Jeff_M

worked perfect.

I had a feeling it was something to do with the .107 and .49 version numbers I was seeing pop up here and there.

Saved again by the Mishler!

Distinguished Contributor
pocketmerlin
Posts: 112
Registered: ‎08-24-2013
Message 7 of 11 (114 Views)

Re: cannot find wrapper - c3d 2011 64 - needing COM

11-13-2013 12:47 PM in reply to: jmaeding

I know this is an ancient thread, but I'm having a similar problem with loading these .dll files for a C3D 2014 project. Would the attached registry fix still work for this issue?

 

Thanks!

*Expert Elite*
Jeff_M
Posts: 4,171
Registered: ‎07-22-2003
Message 8 of 11 (109 Views)

Re: cannot find wrapper - c3d 2011 64 - needing COM

11-13-2013 01:08 PM in reply to: pocketmerlin

Make sure you are loading the COM Interop dll's from the C3D Install folder and NOT from the Common folder.

 

Interops for 2014.png

Jeff_M, also a frequent Swamper
Distinguished Contributor
pocketmerlin
Posts: 112
Registered: ‎08-24-2013
Message 9 of 11 (107 Views)

Re: cannot find wrapper - c3d 2011 64 - needing COM

11-13-2013 01:11 PM in reply to: Jeff_M

Sorry, I'm a bit naive...which folders are you referring to?

ADN Support Specialist
Partha.Sarkar
Posts: 543
Registered: ‎06-09-2009
Message 10 of 11 (96 Views)

Re: cannot find wrapper - c3d 2011 64 - needing COM

11-14-2013 02:07 AM in reply to: pocketmerlin

C:\Program Files\Autodesk\Autodesk AutoCAD Civil 3D 2014

 

Here is a useful link

 

 http://adndevblog.typepad.com/infrastructure/2012/04/com-references-on-civil-3d-2013.html

 

Cheers,

Partha

 



Partha Sarkar
Developer Technical Services
Autodesk Developer Network

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community


Civil 3D Exchange Apps

Created by the community for the community, Autodesk Exchange Apps for AutoCAD Civil 3D helps you achieve greater speed, accuracy, and automation from concept to manufacturing.

Connect with Civil 3D

Twitter

Facebook

Blogs