#loadLibrary

C Scripting Language
Reference Manual
Version 4.4.0

<< Back  End  Next >>
 
 
INDEX
Introduction
Installation
Using the CSL executive
Language
Directives
   #include
   #list
   #loadLibrary
   #loadScript
   #logFile
   #if / #else / #endif
   #message
   #error
   #block
System library
String library
Math library
Regular expression lib.
File library
Database library
Async Communication
Registry/Profile handling
Windows control
C API
C++ Class Interface
CSL links
  

Load a DLL during compile time. Argument is the library name:

#loadLibrary 'ZcSysLib'

... or ...

const x1 = 'Zc', x2 = 'SysLib';
 
#loadLibrary x1+x2

If no extension is given .dll is assumed on Windows and OS/2, and .so.X is assumed on unixish systems (where X is the major version of CSL).

OS/2:
The library is searched in all directories listed by LIBPATH in CONFIG.SYS, or in the environment variables BEGINLIBPATH and ENDLIBPATH.

Win32:
The library is searched in the directory where CSL.EXE is (respectively your own VisualAge C++ Program using the CSL API), the current directory, and all directories listed in the PATH environment variable.
Unixish systems:
The library is searched in the directories listed in the environment variable LD_LIBRARY_PATH.

CSL will never load the same library more than once. Any attempt to do so will be silently ignored.

  Copyright © IBK Landquart Last revision: 27.05.2002 << Back  Top  Next >>