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.