BUG

Aggregating in ESRI network feature fails using COM_INTERFACE_ENTRY_AUTOAGGREGATE_BLIND

Last Published: April 25, 2020

Description

When using Active Template Library (ATL) to create a custom feature, accessing the feature fails if the ATL COM_MAP is specified using COM_INTERFACE_ENTRY_AUTOAGGREGATE_BLIND.

Cause

The ATL macro is prematurely releasing the last reference to the inner aggregated network feature in its constructor. This is due to the current implementation of NetworkFeature.

Workaround



  1. Use COM_INTERFACE_ENTRY_AGGREGATE_BLIND in the COM_MAP.
  2. Aggregate the ESRI network feature in the FinalConstruct method.

Article ID: 000003063

Software:
  • ArcMap 8 x
  • ArcMap 9 x

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options