FreeLibrary Function

αž›αŸ‚αž„ DLLs αžŠαŸ‚αž›β€‹αžαŸ’αžšαžΌαžœβ€‹αž”αžΆαž“β€‹αž•αŸ’αž‘αž»αž€β€‹αžŠαŸ„αž™β€‹αžŸαŸαž…αž€αŸ’αžαžΈβ€‹αžαŸ’αž›αŸ‚αž„β€‹αž€αžΆαžšαžŽαŸ DeclareΒ αŸ” DLL αžŠαŸ‚αž›β€‹αž”αžΆαž“β€‹αž›αŸ‚αž„β€‹αžαŸ’αžšαžΌαžœβ€‹αž”αžΆαž“β€‹αž•αŸ’αž‘αž»αž€β€‹αžŠαŸ„αž™β€‹αžŸαŸ’αžœαŸαž™β€‹αž”αŸ’αžšαžœαžαŸ’αžαž· αž”αžΎβ€‹αž’αž“αž»αž‚αž˜αž“αŸβ€‹αž˜αž½αž™β€‹αž€αŸ’αž“αž»αž„β€‹αž…αŸ†αžŽαŸ„αž˜β€‹αž’αž“αž»αž‚αž˜αž“αŸβ€‹αž‘αžΆαŸ†αž„αž’αžŸαŸ‹β€‹αžšαž”αžŸαŸ‹β€‹αžœαžΆ αžαŸ’αžšαžΌαžœβ€‹αž”αžΆαž“β€‹αž αŸ…Β αŸ” αž˜αžΎαž›β€‹αž•αž„β€‹αžŠαŸ‚αžš αŸ– Declare

αžœαžΆαž€αŸ’αž™β€‹αžŸαž˜αŸ’αž–αž“αŸ’αž’ αŸ–


FreeLibrary (LibName As String)

αž”αŸ‰αžΆαžšαŸ‰αžΆαž˜αŸ‰αŸ‚αžαŸ’αžš αŸ–

LibName αŸ– αž€αž“αŸ’αžŸαŸ„αž˜β€‹αžαŸ’αžŸαŸ‚β€‹αž’αž€αŸ’αžŸαžšβ€‹αžŠαŸ‚αž›β€‹αž”αž‰αŸ’αž‡αžΆαž€αŸ‹β€‹αž’αŸ†αž–αžΈβ€‹αžˆαŸ’αž˜αŸ„αŸ‡β€‹αž“αŸƒ DLLΒ αŸ”

αžšαžΌαž”β€‹αžαŸ†αžŽαžΆαž„β€‹αž…αŸ†αžŽαžΆαŸ†

FreeLibrary αž’αžΆαž…β€‹αž”αž‰αŸ’αž…αŸαž‰β€‹αžαŸ‚ DLLs αžŠαŸ‚αž›β€‹αžαŸ’αžšαžΌαžœβ€‹αž”αžΆαž“β€‹αž•αŸ’αž‘αž»αž€β€‹αž€αŸ†αž‘αž»αž„β€‹αž–αŸαž›β€‹αžšαžαŸ‹ BasicΒ αŸ”


Error codes:

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

Please support us!