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 


LibraryHandlethe returned library handle if the static method does not return an error.
Symbolthe 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.


  • LinkSymbol will first try the un-mangled symbol before trying to mangle the name.
Example Use
OSHandle libraryHandle;


TScript Version 1.1

Also See

Comments (0)Listen All
Characters left: 2500

Contact Ekky Software

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

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