Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Group: Dynamically Linked Library
See also: dlcallex dlopen dlclose dlquery

Function: dlcall
Description: dlcall calls a function defined in a dynamically linked library.

Link:
Usage: dlcall ({handle}, n, {x1, x2, ..., x12 })
Input:
handle scalar (optional), handle of the dll to load the function from. &nl; If it is omitted in all dlls is searched for the function
n string, name of function
x1...x12 array (optional), argument for the function
Output:
err scalar, result from the function

Note:

Example:



//for Unix

h=dlopen("gplm.so")

z=0

dlcall("gplmetabilo", 1|1|1,1,1,1,1,1,1,z)

z

Result:



Contents of dlcall

[1,]        0 

Contents of z

[1,]   2.1353 

Example:



//for Windows

h=dlopen("gplm.dll")

z=0

dlcall("_gplmetabilo", 1|1|1,1,1,1,1,1,1,z)

z

Result:



Contents of dlcall

[1,]        0 

Contents of z

[1,]   2.1353 


Group: Dynamically Linked Library
See also: dlcallex dlopen dlclose dlquery

Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

(C) MD*TECH Method and Data Technologies, 21.9.2000