DLL EXIST This command determines whether a DLL has been loaded successfully.
Syntax
    Return Integer=DLL EXIST(DLL Number)
Parameters
    DLL Number
Integer The DLL Number must be an integer value between 1 and 256
Returns
This value is an integer number such as 1.
Description
The DLL Number must be an integer value between 1 and 256. If the DLL exists an integer value of one is returned, otherwise zero.
Example Code
    cls

    print "Loading DLL..."

    LOAD DLL "TestDLL.dll",1

    if DLL EXIST(1)=1

    print "Calling DLL Function...";

    if DLL CALL EXIST(1, "?MyFunc@@YAXXZ")=1

    print "okay."

    CALL DLL 1, "?MyFunc@@YAXXZ"

    else

    print "does not exist."

    endif

    print "Calling DLL Function with Return Value...";

    if DLL CALL EXIST(1, "?MyFunc@@YAHH@Z")=1

    print CALL DLL(1, "?MyFunc@@YAHH@Z")

    else

    print "does not exist."

    endif

    print "Deleting DLL..."

    DELETE DLL 1

    else

    print "not loaded."

    endif

    do

    loop

    end
See also
SYSTEM Commands Menu Index