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
CTScript::ALLOW_LOAD_DLL and also been give permission to read
access the file via CTScript::WORK_PATH_READ or
CTScript::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
Also See
System::LinkSymbol
Copyright © 2009, Ekky Software Pty Ltd.