sysLoadLibrary |
|
sysLoadLibrary( const dllname) // name of library Loads a library (DLL) at runtime. 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 CSS.EXE is (respectively your own VisualAge C++ Program using the CSS API), the current directory, and all directories listed in the PATH environment variable. To access any functions or identifiers of the library they have to be forward declared (usually by a .hss file). Example: #loadLibrary 'KcSysLib' static const strLib = 'KcStrLib' #loadScript strLib+'.hss' // include forwards main() { sysLoadLibrary(strLib); // load KcStrLib.css sysLog(strUpper('john wayne')); }
| ||||||||
Copyright © IBK Landquart | Last revised by Peter Koch, 24.02.00 | << Back Top Next >> |