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

TScript Version: 1.1

Also See

System::LoadLibrary
 

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