laptop and a wrench

Bug

IObjectCopy.Overwrite returns null values.

Zuletzt veröffentlicht: August 25, 2014 No Product Found
Bug-ID-Nummer NIM000174
EingereichtOctober 28, 2005
Zuletzt geändertJune 5, 2024
Gilt fürNo Product Found
Gefunden in Version9.1
Behoben in Version9.2
StatusFixed

Workaround

You can't pass in an ATL smart type for the data to overwrite, but must declare it as a simple pointer to IUnknownTo make the sample code work, change the var type of pToOverwriteMap from IUnknownPtr to IUnknown***** Please document this usage in the documentation ****A good place to document the proper usage of the IUnknown* parameter (as opposed to the IUnknownPtr type) would be either:(a) Since this likely affects other utility methods, esriSystem library overview; or(b) The discussion on ATL smart types, found here:<a href="http://edndoc.esri.com/arcobjects/9.1/default.asp?URL=/arcobjects/9.1/ArcGISDevHelp/DevelopmentEnvs/COM/VCpp/SmartTypes.htm" target="_blank">http://edndoc.esri.com/arcobjects/9.1/default.asp?URL=/arcobjects/9.1/ArcGISDevHelp/DevelopmentEnvs/COM/VCpp/SmartTypes.htm</a>

Schritte zur Reproduzierung

Bug-ID: NIM000174

Software:

  • No Product Found

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln