laptop and a wrench

Error

IDL for ExportToESRISpatialReference and ExportSpatialReferenceToPRJ IDL needs to be modified to work with .NET COM Interoperability.

Última publicación: August 25, 2014 No Product Found
Número de ID del error NIM001895
EnviadoMarch 31, 2006
Última modificaciónJune 5, 2024
Relacionado conNo Product Found
Versión encontrada8.3
Versión corregida9.2
EstadoFixed

Solución alternativa

New GEN interface is created in 9.2.SG: This code runs much faster than the given example which takes ages - should probably be added as an example snippet:Try Dim sb As New System.Text.StringBuilder sb.Length = 10000 ' Get the result as a string Dim pStr As String = sb.ToString Dim cBytesWrote As Long Dim pESRISpatialRef2 As IESRISpatialReferenceGEN = AxMapControl1.Map.SpatialReference pESRISpatialRef2.ExportToESRISpatialReference(pStr, cBytesWrote) MessageBox.Show(pStr)Catch ex As Exception MessageBox.Show(Err.Description)End Try

Pasos para reproducir

ID del error: NIM001895

Software:

  • No Product Found

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga