Custom Query (3926 matches)
Results (367 - 369 of 3926)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #2790 | Fixed | RichEdit_StreamToFile doesn't work | ||
| Description |
After losing a day thinking I had a problem with my call, I examined the GUIRichEdit.au3 Include file and found a glaring error in the statement that tests the FileOpen result: If $hFile - 1 Then Return SetError(102, 0, False) It was always returning a 102, so I thought my filespec was faulty. Not so. I changed my copy to be "$hFile = -1" and everything works. I looked back all the way to 3.3.8.1 and found this same problem, so I don't think the function has worked for a while. Comparison file is attached. And, BTW, what's with the question marks in the $iWparam statements? |
|||
| #3723 | Rejected | Odd problem with _GUICtrlRichEdit_ReplaceText | ||
| Description |
After months of observing an odd problem when clearing the text in a RichEdit control, I isolated the statements involved: _GUICtrlRichEdit_SetSel($hEdit, 0, -1, True) _GUICtrlRichEdit_ReplaceText($hEdit, "") The odd part is that every now and then (a third of the time?) the text of the button I use to invoke those statements replaces the contents of the windows clipboard. In other words, if "Clear Text" is the text on the GUI button, then "Clear Text" shows up on the windows clipboard. Strange. I replaced those statements in the particular script I am working on with: _GUICtrlRichEdit_SetText($hEdit, "") ... which works. I realize this is an obscure problem, but the next time someone works on the _GUICtrlRichEdit features, they might want to look at it. For now, I'm fine. |
|||
| #1863 | Rejected | UDPRecv halts script for 100ms when there is no data to recieve | ||
| Description |
If this is intended/recommended, can there be inserted an option for lowering or removing this 'timeout'? Purpose: I want to script a game based on UPD fast packet sending and recieving at the same time while painting 2D Graphics and doing various stuff. To have 100 ms delay on each UDPRecv is quite noticable for this kind of usage. Example: ;;This is the UDP Server
;;Start this first
; Start The UDP Services
;==============================================
UDPStartup()
; Register the cleanup function.
OnAutoItExitRegister("Cleanup")
; Bind to a SOCKET
;==============================================
$socket = UDPBind("127.0.0.1", 65532)
If @error <> 0 Then Exit
While 1
;~ sleep(10)
$ti = TimerInit()
$data = UDPRecv($socket, 50)
ConsoleWrite(Round(TimerDiff($ti))&"ms" & @CRLF)
If $data <> "" Then
ConsoleWrite("UDP DATA: "& $data& @CRLF)
EndIf
WEnd
Func Cleanup()
UDPCloseSocket($socket)
UDPShutdown()
EndFunc
|
|||
