PROBLEM

Loading extensions by name with IApplication::FindExtensionByName does not return any results

Last Published: April 25, 2020

Description

IApplication::FindExtensionByName does not return any results.

Cause

Prior to version 9.0, application extensions are always loaded during startup. At version 9.0, the concept of a just-in-time (JIT) extension is introduced to shorten application startup time by loading extensions only when they are required.

A number of extensions shipped with ArcGIS Desktop have been converted to JIT extensions since version 9.0. Both standard and JIT extensions can be obtained programmatically by calling IApplication::FindExtensionByCLSID or IApplication::FindExtensionByName. While FindExtensionByCLSID works reliably, FindExtensionByName only works with the following JIT extensions:

3D Analyst
ArcPress
ESRI Adjustment Tools
ESRI ArcPad Tools
ESRI ArcScan Tools
ESRI ArcToolbox
ESRI Object Editor
ESRI Publisher Extension
ESRI Raster Cleanup
ESRI Replication Extension
ESRI Topology Extension
Georeferencing
Geostatistical Analyst
Spatial Analyst
StreetMapUSA
Utility Network Analyst



If FindExtensionByName is used with the following extensions, it will not return any results.

ESRI Schematic Extension
Geography Network Extension
GPS Extension
Locator Database Extension
Network Analyst
SurveyAnalyst_ArcMapExtension
TabletPC Support

Solution or Workaround

Use IApplication::FindExtensionByCLSID with the appropriate UID value.

Article ID:000007800

Software:
  • ArcMap 9 x

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic