Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

CFunction.Call

Calls a C function.

Component Version macOS Windows Linux Server iOS SDK
CFunction 10.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "CFunction.Call"; FunctionRef; Parameters... )   More

Parameters

Parameter Description Example
FunctionRef The reference number for the function. $func
Parameters... The parameters.
Pass one for each value, see examples.

Result

Returns OK or error.

Description

Calls a C function.
Pass a FileMaker parameter for each parameter.
For pointer parameter, you can use Function.AllocateArray to pass an array as parameter. The passed value is then ignored and we pass pointer to array.

This function takes variable number of parameters. Pass as much parameters as needed separated by the semicolon in FileMaker.
Please repeat Parameters parameter as often as you need.

Examples

Call a function without parameters:

MBS( "CFunction.Call"; $function)

See also

This function checks for a license.

Created 25th April 2020, last changed 5th June 2021


CFunction.AllocateArray - CFunction.FreeArray

💬 Ask a question or report a problem