I am getting the following exception when I try to instantiate an instance of the IAeccApplication after installing SP1 on Civil3D 2014:
"Unhandled Exception 6E73E188 (Access Violation Reading 0x0028) at address D330DD9Eh"
Here is the call that causes the exception:
AcadApplication acadApp = GetAcadApp();
IAeccApplication app = (IAeccApplication)acadApp.GetInterfaceObject("AeccXUiLand.AecccApplication.10.3");
Jordan
Solved! Go to Solution.
Solved by jordanmarr. Go to Solution.
I found the problem, which I will share in case anyone has a similar problem, although it is a little embarassing:
I was debugging by setting my UI project in Visual Studio "Start extrnal program:" to "%programfiles%\Autodesk\Autodesk AutoCAD Civil 3D 2014\acad.exe".
At some point before running and debugging my application I manually opened "Autodesk AutoCAD Civil 3D as AutoCAD 2014", which caused subsequent debug runs of my application to launch vanilla AutoCAD 2014 instead of Civil3D. Being new to Civil3D, I did not notice the subtle difference between the "A" icon in the top left corner (Civil3D is blue while Acad is red), nor did I notice the missing C3D tool pallette.
Consequently, when I tried to netload my app, it would throw a few exceptions but would still load (partially). Some things would work, but then others would fail.
Hopefully this will help someone (maybe me 6 months from now when I forget and stumble across my own Q/A thread).
Jordan