AutoCAD Civil 3D General Discussion

AutoCAD Civil 3D General Discussion

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

MapExport in VB.net - FatalExecutionEngineError

600 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,850
Registered: ‎04-27-2005
Message 2 of 2 (596 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
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!