Custom Query

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (130 - 132 of 3856)

Ticket Resolution Summary Owner Reporter
#1058 Fixed Eventlog.au3 in Beta Jpm twillster
Description

EventLog.au3 in Beta does not read the event log description correctly. It returns multiples of 0. Sometimes none, sometimes 1 or 2 and then occasionally more. I have tested between Beta and 3.3.0.0 and 3.3.0.0 seems to do okay with the description (though not always complete). Not sure where the problem is aside from that but I am pretty sure it's located somewhere in the DecodeDesc function.

I attached the code that I am seeing that reproduces it. It was some stuff from the forums that I found to test with.

Thanks, Adam

#613 No Bug Obfsucator Stripping ObjEvent functions tulio150
Description
ObjEvent($obj, "Prefix", "Something")
Func PrefixEvent()
	$obj.action()
EndFunc
Func Prefix()
	$obj.otherAction()
EndFunc

Running Obfuscator will remove the "PrefixEvent" UDF, but not the "Prefix"

#3619 Fixed Return value of _WinAPI_LocalFree() is not consistent with what the documentation says Jpm tukangusil7@…
Description

Return Value according to the documentation Success: True Failure: False, call _WinAPI_GetLastError() to ...

In WinAPIMem.au3

Func _WinAPI_LocalFree($hMemory)
  Local $aResult = DllCall("kernel32.dll", "handle", "LocalFree", "handle", $hMemory)
  If @error Then Return SetError(@error, @extended, False)

  Return $aResult[0]
EndFunc   ;==>_WinAPI_LocalFree

If the error is caused by the DllCall(), the documentation is correct.

However, the return value of LocalFree() itself according to MSDN is:

  • If the function succeeds, the return value is NULL.
  • If the function fails, the return value is equal to a handle to the local memory object. To get extended error information, call GetLastError().

Thus, if LocalFree() returns 0 (which means successful), _WinAPI_LocalFree() returns False (which means failed).

Note: See TracQuery for help on using queries.