laptop and a wrench

漏洞

A custom geoprocessing function tool created with Visual C++ fails to run in ArcGIS 10 when background geoprocessing is enabled, or displays a pure virtual function error upon closing the application.

上次发布: September 28, 2016 ArcGIS for Desktop
漏洞 ID 编号 NIM066767
已提交March 31, 2011
上次修改时间June 5, 2024
适用范围ArcGIS for Desktop
找到的版本10.0
编程语言VC++
操作系统Windows OS
操作系统版本Vista
状态Known Limit

附加信息

This is as designed only because we have no control over how someone creates a custom GP tool. There are certain constraints assoicated with running in the Background which must be followed. .Net based tools for the most part donot run well in the Background. Custom GP Tool developers whose tools don''t work in the backgound need to implement the following interface: // // IGPToolBackground interface... // [ oleautomation, local, object, uuid(632F8246-0681-4222-9080-48AD9FADADE7), pointer_default(unique), helpcontext(95195), helpstring("Tool Background Implementation Interface."), ] interface IGPToolBackground : IUnknown { [ propget, helpcontext(95196), helpstring("Can this tool run in the background."), ] HRESULT CanRunInBackground([out, retval] VARIANT_BOOL* pCanRunInBackground); [ propput, helpcontext(95197), helpstring("Can this tool run in the background."), ] HRESULT CanRunInBackground([in] VARIANT_BOOL canRunInBackground); }; And have it return VARIANT_FALSE for get_CanRunInBackground.

重现步骤

漏洞 ID: NIM066767

软件:

  • ArcGIS for Desktop

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项