Chapter 11. Integrating External Routines

Revision History
Revision V6.1-000 28 August 2014
Revision V6.0-003 24 February 2014
Revision V6.0-001 21 March 2013

In Using External Calls” and “gtmxc_types.h”, added information about V6.0-001 enhancements for gtmxc_types.h.

Revision V5.5-000/1 05 October 2012

In “Callback Mechanism”, corrected the type of the space-needed parameter of the gtm_malloc() function.

Revision V5.4-002B/1 20 May 2012

In “Pre-allocation of Output Parameters, specified that output-only gtm_string_t * and char * parameters require pre-allocation.

Revision V5.4-002B 26 December 2011 Conversion to documentation revision history reflecting GT.M releases with revision history for each chapter.

Table of Contents

Access to Non-M Routines
Creating a Shareable Library
Using External Calls
Database Encryption Extensions to the GT.M External Interface
Pre-allocation of Output Parameters
Callback Mechanism
Limitations on the External Program
Examples of Using External Calls
Calls from External Routines: Call-Ins
Relevant files for Call-Ins
Call-In Interface
Building Standalone Programs
Nested Call-Ins
Rules to Follow in Call-Ins
Type Limits for Call-ins and Call-outs