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: dlclose dlcall dlquery dlcallex

Function: dlopen
Description: dlopen loads a dynamically linked library.

Link:
Usage: handle = dlopen (n)
Input:
n string, name of dll
Output:
handle scalar, handle to address this library

Note:

Example:
// For UNIX:
// compile the file randu.c in the examples directory with e.g.
// gcc -shared -o randu.so randu.c
h = dlopen("randu.so")    ; maybe you must give the full path

Result:
dll "randu" is loaded
Example:
// For WINDOWS:
h=dlopen("gplm.dll")

Result:
dll "gplm" is loaded



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