Custom Query
Results (13 - 15 of 3866)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#2240 | Wont Fix | Strange behavior of TimerDiff | yupepa | |
Description |
On some PC's (Intel Core2 Duo, E8400 3GHz) i have got strange results with timers. $begin = TimerInit() Sleep(5000) MsgBox(0, "Timer", "Duration = "& TimerDiff($begin)) The result always differs, between 200 and 500. Same behavior with timers UDF. It seems that the problem is in the functions QueryPerformaceCounter and QueryPerformanceFrequency. There exists a blog concerning the problems with it: http://www.virtualdub.org/blog/pivot/entry.php?id=106 My solution: $begin = f_timeGetTime() Sleep(1234) $end = f_timeGetTime() $diff = $end - $begin MsgBox(0, "Timer1", "Diff = "&$diff) Func f_timeGetTime() Local $aResult = DllCall("winmm.dll", "long", "timeGetTime") If @error Then Return SetError(@error, @extended, -1) Return $aResult[0] EndFunc ;==>f_timeGetTime |
|||
#244 | Completed | AutoItX: work with ControlTreeView via ActiveX/Com | Jon | youngracoon |
Description |
Set oAutoIt = WScript.CreateObject("AutoItX3.Control") oAutoIt.ControlTreeView "Computer Management (Local)", "", "SysTreeView321", "Select", "System Tools") |
|||
#439 | No Bug | ping function doesnt work for vista | yoop | |
Description |
function ping() does not work on Windows Vista 32 and 64 Bit Version, you can read in this thread its also not working for other people, it always returns 0 instead the correct ping http://www.autoitscript.com/forum/index.php?showtopic=75912 $pingtomysite=ping("http://www.google.com", 4000) |