Custom Query

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (313 - 315 of 3904)

Ticket Resolution Summary Owner Reporter
#1090 Fixed trivial artifact, persistand tidy error message line. Jos anonymous
Description

when a tidy error message line ends up on the same line as the last command, it will stay after the problem is fixed.

Func f1()
	For $i = 1 To 2
;~ 	EndIf ; fixme
EndFunc ; no linefeed here.
#1092 Fixed _Timer_SetTimer, Kill datatype discrepancies Jpm Ascend4nt
Description

The functions _Timer_SetTimer(), _Timer_KillTimer, and _Timer_KillAllTimers in <Timers.au3> on AutoIT 3.3.0.0 have a few data type discrepancies that might cause it to fail on x64 (haven't tested it myself but I assume you'd at least want the correct size variables) Specifically the 'int' vs 'uint_ptr' is the most important (the other corrections are just to make the value unsigned (all per MSDN notes).

Here's the problems for SetTimer:

$hCallBack = DllCallbackRegister($sTimerFunc, "none", "hwnd;int;int;dword")

should be:

$hCallBack = DllCallbackRegister($sTimerFunc, "none", "hwnd;uint;uint_ptr;dword")

Also, there's two DllCall lines, I think they are identical, which read as:

$iResult = DllCall("user32.dll", "int", "SetTimer", "hwnd", $hWnd, "int", $iTimerID, "int", $iElapse, "ptr", $pTimerFunc)

They should be:

$iResult = DllCall("user32.dll", "uint_ptr", "SetTimer", "hwnd", $hWnd, "uint_ptr", $iTimerID, "uint", $iElapse, "ptr", $pTimerFunc)

For the 'KillTimer' and 'KillAllTimers' functions, the DLLCalls (multiple ones) are setup like this:

$iResult = DllCall("user32.dll", "int", "KillTimer", "hwnd", $hWnd, "int", $_Timers_aTimerIDs[$x][1])

But the calls should be:

$iResult = DllCall("user32.dll", "int", "KillTimer", "hwnd", $hWnd, "uint_ptr", $_Timers_aTimerIDs[$x][1])

That's all, thanks

#1093 Fixed StringFormat not work with non-latin symbols in format string Jpm Lazycat
Description

Just discovered, that StringFormat stops to work when in format string are presented non-latin symbols (cyrillic in my case). This was introduced in latest beta, older versions till 3.3.0.0 (inclusive) work fine.

MsgBox(0, "Test", StringFormat("Тест=%d", 1)) ; output "Тест=%d"
MsgBox(0, "Test", StringFormat("Test=%d", 1)) ; output "Test=1" as expected
Note: See TracQuery for help on using queries.