JRSmile Posted June 21, 2009 Posted June 21, 2009 Hi there i found an interresting freeware dll that has an amazing feature called comThread its a method to start subthreads via com objects and let them run independantly from the main process.http://www.newobjects.com/product.asp?Category=63&http://www.newobjects.com/pages/ndl/Advanc...f-COMThread.htmhttp://www.newobjects.com/pages/ndl/ndl.as...s.htm#COMThreadif someone would have a look at it and tell me if its really so good as it sounds, that would be great. $a=StringSplit("547275737420796F757220546563686E6F6C75737421","") For $b=1 To UBound($a)+(-1*-1*-1)step(2^4/8);&$b+=1*2/40*µ&Asc(4) Assign("c",Eval("c")&Chr(Dec($a[$b]&$a[$b+1])));''Chr("a")&"HI" Next ;time_U&r34d,ths,U-may=get$the&c.l.u.e;b3st-regards,JRSmile; MsgBox(0x000000,"",Eval("c"));PiEs:d0nt+*b3.s4d.4ft3r.1st-try:-)
Inverted Posted June 21, 2009 Posted June 21, 2009 What about _Adlib.au3 ?http://www.autoitscript.com/forum/index.php?showtopic=83967
JRSmile Posted June 21, 2009 Author Posted June 21, 2009 What about _Adlib.au3 ?http://www.autoitscript.com/forum/index.php?showtopic=83967no multithreading! $a=StringSplit("547275737420796F757220546563686E6F6C75737421","") For $b=1 To UBound($a)+(-1*-1*-1)step(2^4/8);&$b+=1*2/40*µ&Asc(4) Assign("c",Eval("c")&Chr(Dec($a[$b]&$a[$b+1])));''Chr("a")&"HI" Next ;time_U&r34d,ths,U-may=get$the&c.l.u.e;b3st-regards,JRSmile; MsgBox(0x000000,"",Eval("c"));PiEs:d0nt+*b3.s4d.4ft3r.1st-try:-)
Inverted Posted June 21, 2009 Posted June 21, 2009 You mean, that's "virtual" multithreading and not "real" multithreading ? No performance advantage with that udf ? (I haven't got the time to test that yet)
Authenticity Posted June 21, 2009 Posted June 21, 2009 It's not applicable unless AutoIt has it's own loader engine (like JScript or VBScript with it's own progID registered) to execute the script. I don't think @AutoItExe macro can be considered a loader engine not talking about it doesn't seem to have a registered progID to send to the COM object threading method. You can do it in JScript or VBScript though.
JRSmile Posted June 24, 2009 Author Posted June 24, 2009 thanks for that, what a pitty. $a=StringSplit("547275737420796F757220546563686E6F6C75737421","") For $b=1 To UBound($a)+(-1*-1*-1)step(2^4/8);&$b+=1*2/40*µ&Asc(4) Assign("c",Eval("c")&Chr(Dec($a[$b]&$a[$b+1])));''Chr("a")&"HI" Next ;time_U&r34d,ths,U-may=get$the&c.l.u.e;b3st-regards,JRSmile; MsgBox(0x000000,"",Eval("c"));PiEs:d0nt+*b3.s4d.4ft3r.1st-try:-)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now