Use NetEngine with MS-VC++

Last Published: April 25, 2020


This document describes the steps for including a reference to NetEngine within my Microsoft Visual C++ development environment.


To make the NetEngine compatible with VC++, modify the NetEngine include files by adding the following:

  1. At the top of each file, add:

    #if defined(__cplusplus)
    extern "C"
  2. At the bottom of the file add:

    #if defined(__cplusplus)

    There are ten include files in the NetEngine\Include folder that need modification.
    After navigating to C/C++ > Visual Studio > Project Settings > Code Generation, set the Calling convention to __cdecl.

Article ID:000005487

  • Legacy Products

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic