return-typeis one of the following: VOID, SHORT, LONG, DOUBLE, CHAR, CHARPTR, VARIABLE.
dll-namemust be the name of a loaded DLL.
function-nameis the name of the function in the DLL you wish to call, or a variable exported from the DLL.
Usage:
DLL GET "VOID Pipecalc:Xsection" AS "Cross"
DLL GET "SHORT Pipecalc:Xsection" AS "Cross"
DLL GET "LONG Pipecalc:Xsection" AS "Cross"
DLL GET "DOUBLE Pipecalc:Xsection" AS "Cross"
DLL GET "CHAR Pipecalc:Xsection" AS "Cross"
DLL GET "CHARPTR Pipecalc:Xsection" AS "Cross"
DLL GET "VARIABLE Pipecalc:Xsection" AS "Cross"
Description:
DLL GET gets a Dynamic Link Library (DLL) function to use in the program.
All Function/Variable and alias names must use valid HTBasic function name conventions. The DLL loader will allow you to load two functions with the same name as long as they are in different DLL’s. However, in this case, an alias must be specified to differentiate which DLL you are trying to call and the DLL loader will always call the first function by that name. You cannot have an HTBasic function with the same name as a DLL function.