Custom Query (3922 matches)
Results (385 - 387 of 3922)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #681 | Duplicate | Document 64KB line limit for FileReadLine() | ||
| Description |
Based on this support topic: FileReadLine problem read a very big line http://www.autoitscript.com/forum/index.php?showtopic=84354 FileReadLine() uses a 64K buffer that will return a longer single line as multiple 64K lines. For example, 96K line will be read out as a 64K line, then a 32K line. Jon indicates this is not a bug, so documentation should be updated reflect the limitation. Demo: Global $sFile = "test.txt", $hFile, $n
Global $sLine = "012345467890"
FileDelete($sFile)
; Create large line
Do
$sLine &= $sLine
Until Stringlen($sLine) > 2^16
ConsoleWrite("Actual line length = " & StringLen($sLine) & @LF)
; Open file
$hFile = FileOpen($sFile, 2) ; Overwrite
For $n = 1 To 10
; Write 10 lines
FileWriteLine($hFile,$sLine)
Next
FileClose($hFile)
; Test with FileReadLine()
$n = 1
While 1
$sLine = FileReadLine($sFile, $n)
If @error Then ExitLoop
ConsoleWrite("Line " & $n & " length = " & StringLen($sLine) & @LF)
$n += 1
WEnd
|
|||
| #684 | Rejected | ShellExecute() should return ProcessId instead of 1 if all is OK. | ||
| Description |
It would be easier to control the spawned process if the Pid is available. For compatibility reasons, you should introduce a sixth Parameter named showpid with the default of 0=no (return 1) |
|||
| #685 | Rejected | Add fonctionnality to Autoit | ||
| Description |
I need to build dll library with Autoit to use it after in DllCall, DllOpen ... |
|||
