# Funktionsreferenz

DllOpen

Opens a dll file for use in DllCall.

DllOpen ( "filename" )

Parameter

filename | Filename of the dll file to open.

Bemerkungen

Up to 64 files can be open simultaneously by one AutoIt script.
When finished working with a dll, call the DllClose function to close it. Autoit normally closes all files upon termination, but explicitly calling DllClose is still a good idea.

Siehe auch

DllCall, DllClose

Beispiel

$dll = DllOpen("user32.dll")
$result = DllCall($dll, "int", "MessageBox", "hwnd", 0, "str", "Some text", "str", "Some title", "int", 0)
DllClose($dll)