Custom Query

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (331 - 333 of 3904)

Ticket Resolution Summary Owner Reporter
#1910 Fixed Please change $TTN_GETDISPINFO to $TTN_GETDISPINFOW Jon anonymous
Description

Please change in the example scripts for _GUICtrlToolbar_SetToolTips and _GUICtrlToolbar_GetToolTips $TTN_GETDISPINFO to $TTN_GETDISPINFOW.

#1920 Fixed Script crashes with error reported in Security.au3 at line 85 Jon malcolmsearle
Description

My usage: Script uses Security.au3 to get user SIDs from Active Directory. The task is to get a range of user information from Active Directory.

The failing line in my script is:

$bSid = _Security__GetAccountSid($strDomainName & "\" & $strSamid, $strLogonServer)

Problem: Occasionally the script will crash reporting an error at line 85 of Security.au3 involving use of a subscript with a non-array variable. This code assumes _SecurityLookupAccountSid only returns an array. In fact, _SecurityLookupAccountSid can return zero (ref. ticket 1393).

#1923 Fixed Memory consumption while FileOpen/FileClose Jon anonymous
Description

Prerequisite ... create file "$File" and deny yourself read/write rights on it (any file will do, can be empty).

Function "_Test2()" doesn't consume much memory while function "_Test1()" uses more and more memory ...

While 'TEST'
 _Test1(@ScriptDir & '\test.txt')
WEnd
Exit

Func _Test1($File = '')
 $FileHandle = FileOpen ($File, 0)
  FileReadLine ($FileHandle, 1)
 FileClose ($FileHandle)
EndFunc ;=>_Test1

Func _Test2($File = '')
 FileReadLine ($File, 1)
EndFunc ;=>_Test2

If you could read this topic and see the full code: http://www.autoitscript.com/forum/topic/128370-script-memory-usage/

Note: See TracQuery for help on using queries.