ADLLS( ) Function
Returns an array containing the names of functions loaded by DECLARE DLLs.
ADLLS(ArrayName)
Parameters
- Arrayname
Specifies the name of the array. If the array you specify doesn't exist, Visual FoxPro automatically creates the array. If the array exists and isn't large enough to contain all the functions loaded by DECLARE DLLS, Visual FoxPro automatically increases the size of the array to accommodate the information. If the array is larger than necessary, Visual FoxPro truncates the array. If no DLL functions have been declared, the array is not created, and an existing array is not modified.
Return Value
Numeric
Remarks
The numeric value returned by the ADLLS function specifies the number of DLL loaded functions. If no alias is provided, the 2nd element returns the same value as the 1st element (function name).
The array created by the ADLLS function has the following format:
Column |
Field Info |
Data Type |
---|---|---|
1 |
Function Name |
Character |
2 |
Function Alias |
Character |
3 |
Library Name |
Character |
For details about how to declare functions, see DECLARE - DLL Command.