laptop and a wrench

Error

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.

Última publicación: September 28, 2016 ArcGIS for Desktop
Número de ID del error NIM066767
EnviadoMarch 31, 2011
Última modificaciónJune 5, 2024
Relacionado conArcGIS for Desktop
Versión encontrada10.0
Lenguaje del programaVC++
Sistema operativoWindows OS
Versión de sistema operativoVista
EstadoKnown Limit

Información adicional

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.

Pasos para reproducir

ID del error: NIM066767

Software:

  • ArcGIS for Desktop

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga