How to call .dll coded in vb6 from AutoHotkey Script? -
i need call .dll file autohotkey can not while can access dll vb6 follows
//spacecalculator.dll dim obj new spacecalculator.calculate msgbox obj.getdata("shapes",2,100,100);
i want call autohotkey follows throws error -3/-4. .dll in root folder of script.
dllcall("spacecalculator.dll\getusagedata","str","shapes","float",2,"float",100,"float",100)
your vbscript uses com. autothing uses dynamic linking. says.
vbscript, jscript, , component object model (com)
vbscript , jscript may embedded in script via windows scripting autohotkey, provides access com.
also, com may used directly via dllcall demonstrated @ www.autohotkey.com/wiki/index.php?title=com_wrappers.
Comments
Post a Comment