System::LinkSymbol
System::LinkSymbol connects function definition to the underline function
address within a dynamic linking library. Before System::LinkSymbol can be called,
a valid handle must be return from System::LoadLibrary.
Function definition should be defined by including the
relevant C++ header file during the script compilation.
public System::LinkSymbol(
OSHandle LibraryHandle,
WString Symbol
);
Parameters
| LibraryHandle |
The returned library handle if the static method does not return an error. |
| Symbol |
The function name of the symbol to be linked. |
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
Linksymbol will first try the un-mangled symbol before trying to mangle the name.
Example Use
OSHandle libraryHandle;
System::LoadLibrary(L"ODBPP":libraryHandle);
System::LinkSymbol(libraryHandle,L"ODBPP");
Requirements
Also See
System::LoadLibrary
Copyright © 2009, Ekky Software Pty Ltd.