Community
Civil 3D Customization
Welcome to Autodesk’s AutoCAD Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D Customization topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

cannot find wrapper - c3d 2011 64 - needing COM

10 REPLIES 10
Reply
Message 1 of 11
kbarnettza
923 Views, 10 Replies

cannot find wrapper - c3d 2011 64 - needing COM

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

 

 

10 REPLIES 10
Message 2 of 11

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

 

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 a post provides a fix for your issue, click on "Accept as Solution" to help other users find solutions to problems they might have that are similar to yours.

Andrew Puller
Maitland, NSW, Australia
Windows 10 Enterprise 64bit
Intel core i7 11800 @ 2.30 GHz with 32GB Ram
Civil 3d 2021
Message 3 of 11

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

Message 4 of 11
JamesMaeding
in reply to: kbarnettza

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


internal protected virtual unsafe Human() : mostlyHarmless
I'm just here for the Shelties

Message 5 of 11
Jeff_M
in reply to: JamesMaeding

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
EESignature
Message 6 of 11
JamesMaeding
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!


internal protected virtual unsafe Human() : mostlyHarmless
I'm just here for the Shelties

Message 7 of 11
ltmullen
in reply to: JamesMaeding

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!

Message 8 of 11
Jeff_M
in reply to: ltmullen

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
EESignature
Message 9 of 11
ltmullen
in reply to: Jeff_M

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

Message 10 of 11
Partha.Sarkar
in reply to: ltmullen

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

Message 11 of 11
ltmullen
in reply to: Partha.Sarkar

Oops...I think I actually posted to the wrong ancient thread...but I think I'm OK now anyway. I was actually having an error loading AecXBase.dll but I think I might not need it.

 

Thanks for the replies and for the link...looks like there are some posts on that blog I might want to look at for help in the future.

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

Post to forums  

Rail Community


 

Autodesk Design & Make Report