$DLLFREE (free DLL)
$DLLFREE terminates the use of DLL (frees DLL) that was loaded by the $DLLLOAD embedded function.
- Organization of this page
Syntax
$DLLFREE(DLL-object)
Values
-
DLL-object
Specifies the variable name of the DLL object that was acquired by the $DLLLOAD embedded function.
DLL interface to be used
The following shows the format of the function that is called by $DLLFREE:
void aim_free(void* object)
The $DLLFREE embedded function executes the aim_free function using the DLL object as its argument, and unloads the DLL upon completion of the execution. The aim_free function frees the shared memory and other resources that were used by the functions called by the aim_init function and the $DLLEXEC2 embedded function.
Status
The following table lists and describes the possible statuses:
Status |
Description |
---|---|
NORMAL |
Normal end |
NODATA |
— |
ERROR |
— |
Script execution interrupted |
Indicates one of the following:
|
- Legend:
-
—: Not applicable
Example
See the coding example in $DLLEXEC2 (execute DLL).