laptop and a wrench

Bogue

IObjectCopy.Overwrite returns null values.

Dernière publication: August 25, 2014 No Product Found
Numéro d’ID de bogue NIM000174
EnvoiOctober 28, 2005
Dernière modificationJune 5, 2024
S’applique àNo Product Found
Version trouvée9.1
Version de correction9.2
StatutFixed

Solution de contournement

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>

Étapes pour reproduire

ID de bogue: NIM000174

Logiciel:

  • No Product Found

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement