Opened 12 years ago
Closed 12 years ago
#2790 closed Bug (Fixed)
RichEdit_StreamToFile doesn't work
| Reported by: | qwert | Owned by: | Melba23 |
|---|---|---|---|
| Milestone: | 3.3.13.3 | Component: | AutoIt |
| Version: | 3.3.12.0 | Severity: | None |
| Keywords: | RTF Rich Text RichEdit | Cc: |
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?
Attachments (1)
Change History (3)
by , 12 years ago
| Attachment: | StreamToFile Problem.au3 added |
|---|
comment:1 by , 12 years ago
I will fix the typo.
The question marks are the ternary operator syntax introduced in 3.3.10.0 - do keep up! ;)
M23
comment:2 by , 12 years ago
| Milestone: | → 3.3.13.3 |
|---|---|
| Owner: | set to |
| Resolution: | → Fixed |
| Status: | new → closed |
Fixed by revision [10310] in version: 3.3.13.3

RichEdit_StreamToFile reference copies