Version 6.3.8 for Windows
 —  Programming Guide  —

Introduction

The Natural Native Interface enables an application to execute Natural code in its own process context through function calls according to the C calling convention. The interface consists of a DLL that contains a set of interface functions. These functions include initialization and uninitialization of a Natural session, logging on to a specific Natural library and execution of individual Natural modules. The calling application loads the interface library dynamically with operating system calls and then locates and calls the interface functions.

An example C program nnisample.c that shows the usage of the interface is contained in %NATDIR%\%NATVERS%\samples\sysexnni.

The Natural modules called by the C program nnisample.c are contained in the Natural library SYSEXNNI.

Top of page