Previous Topic Next topic Print topic


&ENTRY

Create a new built-in function by establishing a symbolic name and associating it with an entry point in a DLL. This is used with the MFG API that allows the MFG to call functions with a predefined signature that reside in a DLL.
Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.

Syntax:

&ENTRY (DLLname, entrypointname)

Alias:

&entry     &Entry

Parameters:

DLLname

DLL name, which is a string value, such as F:\MYDLLS\MYFUNCS.DLL.

entrypointname

Name of an entry point exported by the DLL.

Example:

The following statement

% &READDB = &ENTRY ("F:\ODBC\ODBCFCNS.DLL", "PerformSelect")

Defines a new function name, &READDB, which can be called like any other built-in function.

% &RC = &READDB ("CUSTDB", "SELECT * FROM CUSTOMER")
Previous Topic Next topic Print topic