AutoHotkey.dll and COM interface setup issue
Posted: 20 Mar 2018, 06:49
I just want to utilize "AutoHotkey.dll" so I haven't replaced "AutoHotkey.exe" coz I doubt that my other work can have compatibility issue so I have registered only "AutoHotkey.dll"
by running
and registry gone successful ......... but following script not working even I restarted my PC.
am I missing something ....
by running
Code: Select all
regsvr32 "D:\dll\AutoHotkey.dll"
Code: Select all
AhkCom := ComObjCreate("AutoHotkey.Script")
AhkCom.ahktextdll("MsgBox Hello World!`nExitApp")
While AhkCom.ahkReady()
Sleep, 100
MsgBox Exiting now