Jump to content

Recommended Posts

Posted

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.htm

http://www.newobjects.com/pages/ndl/ndl.as...s.htm#COMThread

if 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:-)
Posted

no 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:-)
Posted

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)

Posted

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.

Posted

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:-)

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...