LDG* ldg_open(char *lib, WORD *gl)
|Description: load a dynamical library|
Opcode: 000 (0x0000)
Availability: Available when a 'LDGM' cookie with a version of at least 2.20 exists.
'lib' is the name of the library to load. 'global' is the global
array of AES initialized by the function appl_init().
134th bit of buffer area pointed by 'LDGM' cookie.Return value: ldg_open() returns a pointer of LDG structure describing the library or a NULL
value if an error occurs.
'lib' can be a path of library to load or a filename. Library is searched in the current path, then in the LDG path defined by the 'LDGM' cookie, then in the path of environ variable LDG_PATH and PATH.
'global' depend on the GEM library used in your compiler.
If a NULL value is returned, a diagnostic of the error can be obtained with the function ldg_error().
This function was formely named ldg_libexec() in LDG version 1.10.
See Also: ldg_close()
Thanks for your GEMTOS visit!!!
(C) 2000 Gemtos.free.fr. All rights reserved by the authors.