Custom Query (3921 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (298 - 300 of 3921)

Ticket Resolution Summary Owner Reporter
#2623 Fixed RegDelete() returns 0 instead of 2 when unable to delete key Jon Factfinder
Description

After installing the latest AutoIt version (3.3.10.2) I noticed it. I'm not sure about the older versions.

I noticed it when I was not able to delete an AV leftover service that was still running.

I created a registry key, removed Full Access but left Read Access for all the groups:

$ret = RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\test"); subkey with only read access for evryone MsgBox(0, "delte aatest", $ret & "," & @error); $ret = 0 @error= 1

From the function description: Success: 1. Special: 0 if the key/value does not exist. Failure: 2 if error deleting key/value and sets the @error flag to non-zero.

It means the return value says the key doesn't exist. In short instead of 2 it returns 0.

#3170 No Bug IniRead() functions returns ANSI chars instead of Unicode Chars Factfinder
Description

IniRead() function works good for ANSI strings but returns ANSI chars instead of Unicode Chars if the data string contains Unicode chars.

#3786 Wont Fix DirMove function returns success instead of failure Factfinder
Description
DirCreate("C:\test")
; DirMove returns 1 instead of 0 
; But the folder is not moved as it is protected.
MsgBox(0, '', DirMove("c:\system volume information", "c:\test", 1)) 
Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.