AutoCAD Civil 3D General Discussion

AutoCAD Civil 3D General Discussion

Reply
Contributor
13 Posts
0 Kudos
Registered: ‎04-10-2001
Post 1 of 2

MapExport in VB.net - FatalExecutionEngineError

603 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*
2,873 Posts
267 Kudos
Registered: ‎04-27-2005
Post 2 of 2

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 interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!