System::LoadLibrary

System::LoadLibrary opens a dynamic linking library file resource for reading. This static method will check to see is the currently executing script has the appropriate permissions to the desired file before allowing the underline function to be called. The script must have both permission to load libraries by been given the parameter System::ALLOW_LOAD_DLL and also been give permission to read access the file via System::WORK_PATH_READ or System::WORK_PATH_WRITE.

public System::LoadLibrary(
   WString LibraryName 
:  OSHandle LibraryHandle
);

Parameters

LibraryName The name of the file to be opened. The .dll or .so will be appended depending on the underline OS
LibraryHandle The returned library handle if the static method does not return an error.

Return Values

The error.errorCode value will be set to the underlining windows error message code and the error.errorString will have a detailed description of the error.

Remarks

Example Use
OSHandle libraryHandle;
System::LoadLibrary(L"ODBPP":libraryHandle);
System::LinkSymbol(libraryHandle,L"ODBPP");

Requirements

TScript Version: 1.1

Also See

System::LinkSymbol
 

Contact Ekky Software

All around the world Ekky Software is contactable seven days of the week by submitting the following details.

Thank you for your time and interest.
Ekky Software Customer Support Team.

Ekky Software Product Range
Ekky Software Homepage Texas Business Software ObjectDatabase++ TScript Ekky Software Homepage Texas Business Software ObjectDatabase++ TScript