laptop and a wrench

Bug

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

Last Published: August 25, 2014 No Product Found
Bug ID Number NIM001895
SubmittedMarch 31, 2006
Last ModifiedJune 5, 2024
Applies toNo Product Found
Version found8.3
Version Fixed9.2
StatusFixed

Workaround

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

Steps to Reproduce

Bug ID: NIM001895

Software:

  • No Product Found

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options