FreeLibrary Function

Releases DLLs that were loaded by a Declare statement. A released DLL is automatically reloaded if one of its functions is called. See also: Declare

தொடரமைப்பு:

FreeLibrary (LibName As String)

அளவுருக்கள்:

LibName: String expression that specifies the name of the DLL.

Note Icon

FreeLibrary can only release DLLs that are loaded during Basic runtime.


பிழையான குறியீடுகள்:

5 செல்லாத செயல்முறை அழைப்பு

எடுத்துக்காட்டு:

Declare Sub MyMessageBeep Lib "user32.dll" Alias "MessageBeep" ( Long )

Sub ExampleDeclare

Dim lValue As Long

    lValue = 5000

    MyMessageBeep( lValue )

    FreeLibrary("user32.dll" )

End Sub