AutoCAD Civil 3D General Discussion

AutoCAD Civil 3D General Discussion

Reply
Contributor
pcardinal
Posts: 13
Registered: ‎04-10-2001
Message 1 of 2 (590 Views)

MapExport in VB.net - FatalExecutionEngineError

590 Views, 1 Replies
03-31-2013 04:15 PM

 

 

 

My code is

     

Imports Autodesk.AutoCAD.Interop

Imports Autodesk.AutoCAD.Interop.Common

 

Dim oAcad As AcadApplication = Application.AcadApplication

oAcad.ActiveDocument.SendCommand("-mapexport" & vbCr & "FDO_SDF" & vbCr & "test.sdf" & vbCr & "_N" & "_P" & vbCr)

 

 

 

the result is

 

FatalExecutionEngineError

The runtime has encountered a fatal error. The address of the error was at 0xe1b6d735, on thread 0x1018. The error code is 0xc0000005. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of user code. Common sources of this bug include user marshaling errors for COM-interop or PInvoke, which may corrupt the stack.

 

Platform

   Civil 2013

   Windos 7 64

   VS2010

 

 

The "-map2sdf" does not create problems but "-mapexport" does. I am trying to create a sdf3 file. Any help would be realy appreciate.

 

 

  

*Expert Elite*
BrianHailey
Posts: 2,815
Registered: ‎04-27-2005
Message 2 of 2 (586 Views)

Re: MapExport in VB.net - FatalExecutionEngineError

03-31-2013 04:22 PM in reply to: pcardinal

Might want to post your question HERE instead.

Brian Hailey
CAD-1.com
My Blog
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 or visit the Installation and Licensing Forum to get help installing your software.