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

MapExport in VB.net - FatalExecutionEngineError

1 REPLY 1
Reply
Message 1 of 2
pcardinal
783 Views, 1 Reply

MapExport in VB.net - FatalExecutionEngineError

 

 

 

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.

 

 

  

1 REPLY 1
Message 2 of 2
BrianHailey
in reply to: pcardinal

Might want to post your question HERE instead.

Brian J. Hailey, P.E.



GEI Consultants
My Civil 3D Blog

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

Post to forums  

Rail Community


 

Autodesk Design & Make Report