Private Declare Function GetModuleHandle Lib "kernel32" Alias "GetModuleHandleA" (ByVal lpModuleName As String) As Long
Sub main() If GetModuleHandle("test.dll") = 1 Then Exit Sub Else Do other things End if End sub
NULL
0
HANDLE
Sub main() If Not GetModuleHandle("test.dll") = Nothing Then Exit Sub Else ''Do other things End if End sub
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)