Creates a COM object from a dll.
OutputVar := ComObjDll(hModule, CLSID , IID)Function Example: ahk := ComObjDll(hModule,"{C00BCC8C-5A04-4392-870F-20AAE1B926B2}")
The name of the variable in which to store the result. The result is different when IID parameter is used:
Dll Module handle, loaded via LoadLibrary or MemoryLoadLibrary.
CLSID or human-readable Prog ID of the COM object to create.
The identifier of an interface the object supports.
lib:=LoadLibrary("AutoHotkey.dll") dll:=ComObjDll(lib,"{C58DCD96-1D6F-4F85-B555-02B7F21F5CAF}") ; AutoHotkey.Script.UNICODE dll.ahktextdll("MsgBox from thread") while dll.ahkReady Sleep 100