English

How To: Use NetEngine with MS-VC++

Summary

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

Procedure

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"
    {
    #endif
  2. At the bottom of the file add:

    #if defined(__cplusplus)
    }
    #endif

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