laptop and a wrench

漏洞

IObjectCopy.Overwrite returns null values.

上次发布: August 25, 2014 No Product Found
漏洞 ID 编号 NIM000174
已提交October 28, 2005
上次修改时间June 5, 2024
适用范围No Product Found
找到的版本9.1
修正版本9.2
状态Fixed

解决办法

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>

重现步骤

漏洞 ID: NIM000174

软件:

  • No Product Found

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项